forked from Simnation/Main
resources/[jobs]/[civ]/mh_jobgarage/client/chiefsettings.lua aktualisiert
This commit is contained in:
parent
24779ed578
commit
cbdc3609b8
1 changed files with 38 additions and 36 deletions
|
@ -48,9 +48,8 @@ function OpenChiefAddVehicleMenu()
|
|||
|
||||
for i = 1, #vehicles, 1 do
|
||||
local isSpawned, mods = IsVehicleSpawned(vehicles[i].plate)
|
||||
while not isSpawned do
|
||||
Wait(100)
|
||||
end
|
||||
|
||||
if isSpawned then
|
||||
print("Chiefsettings: "..mods)
|
||||
|
||||
table.insert(opt, {
|
||||
|
@ -89,6 +88,9 @@ function OpenChiefAddVehicleMenu()
|
|||
})
|
||||
|
||||
lib.showContext("ChiefAddVehicleMenu")
|
||||
else
|
||||
Notification("Schlüsselkasten", "Kein Fahrzeug gefunden!", "warning")
|
||||
end
|
||||
end
|
||||
else
|
||||
Notification("Schlüsselkasten", "Keine Fahrzeuge von dir Gefunden!", "error")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue