forked from Simnation/Main
Update retrieve.lua
This commit is contained in:
parent
8042ad195d
commit
dd0d60c6af
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ AddEventHandler('mh_garage:retrieveVehicle', function()
|
||||||
local mods = json.decode(cb[i].mods)
|
local mods = json.decode(cb[i].mods)
|
||||||
table.insert(opt, {
|
table.insert(opt, {
|
||||||
title = cb[i].name,
|
title = cb[i].name,
|
||||||
description = "Kennzeichen: "..cb[i].plate.."\nTankinhalt: "..math.random(mods.fuelLevel, 2).."%",
|
description = "Kennzeichen: "..cb[i].plate.."\nTankinhalt: "..math.round(mods.fuelLevel, 2).."%",
|
||||||
icon = "car",
|
icon = "car",
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
cb[i].mods = mods
|
cb[i].mods = mods
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue