forked from Simnation/Main
Update stored.lua
This commit is contained in:
parent
4d7799c70b
commit
1551a73809
1 changed files with 57 additions and 61 deletions
|
@ -14,8 +14,6 @@ AddEventHandler('mh_garage:storeVehicle', function()
|
|||
local lc_fuelLevel = exports["lc_fuel"]:GetFuel(vehicles[i]) -- Get the fuel level
|
||||
|
||||
mods.fuelLevel = lc_fuelLevel
|
||||
QBCore.Functions.TriggerCallback('mh_garage:CheckownerVehicles', function(cb)
|
||||
if cb then
|
||||
table.insert(opt, {
|
||||
title = "Kennzeichen: "..mods.plate,
|
||||
description = GetRandomCarDescription(),
|
||||
|
@ -79,8 +77,6 @@ AddEventHandler('mh_garage:storeVehicle', function()
|
|||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
end, mods.plate)
|
||||
lib.registerContext({
|
||||
id = "StoredVehicles",
|
||||
title = random.name.."\n\n"..random.description,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue