forked from Simnation/Main
Update retrieve.lua
This commit is contained in:
parent
0fe9c9b659
commit
99e14014b4
1 changed files with 8 additions and 1 deletions
|
@ -24,6 +24,13 @@ AddEventHandler('mh_garage:retrieveOwnerVehicle', function()
|
|||
end
|
||||
})
|
||||
end
|
||||
lib.registerContext({
|
||||
id = "retrieveVehicle",
|
||||
title = random.name,
|
||||
options = opt
|
||||
})
|
||||
|
||||
lib.showContext("retrieveVehicle")
|
||||
end, CurrentZone.name)
|
||||
end)
|
||||
|
||||
|
@ -40,7 +47,7 @@ AddEventHandler('mh_garage:retrieveVehicle', function()
|
|||
Notification("Es ist kein Fahrzeug hier!", "inform")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
for i = 1, #cb, 1 do
|
||||
if cb[i].garage ~= "OUT" then
|
||||
local mods = json.decode(cb[i].mods)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue