forked from Simnation/Main
Merge branch 'master' of https://git.evolution-state-life.de/Evolution-State-Life/Main
This commit is contained in:
commit
cf05b77b81
2 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ function OpenChiefAddVehicleMenu()
|
||||||
local opt = {}
|
local opt = {}
|
||||||
|
|
||||||
QBCore.Functions.TriggerCallback('mh_jobgarage:CallOwnerVehicles', function(vehicles)
|
QBCore.Functions.TriggerCallback('mh_jobgarage:CallOwnerVehicles', function(vehicles)
|
||||||
|
Wait(300)
|
||||||
print(json.encode(vehicles))
|
print(json.encode(vehicles))
|
||||||
if vehicles ~= false then
|
if vehicles ~= false then
|
||||||
local opt = {}
|
local opt = {}
|
||||||
|
|
|
@ -250,6 +250,7 @@ QBCore.Functions.CreateCallback('mh_jobgarage:CallOwnerVehicles', function(sourc
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
Wait(100)
|
||||||
cb(veh)
|
cb(veh)
|
||||||
else
|
else
|
||||||
cb(false)
|
cb(false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue