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
|
for i = 1, #vehicles, 1 do
|
||||||
local isSpawned, mods = IsVehicleSpawned(vehicles[i].plate)
|
local isSpawned, mods = IsVehicleSpawned(vehicles[i].plate)
|
||||||
while not isSpawned do
|
|
||||||
Wait(100)
|
if isSpawned then
|
||||||
end
|
|
||||||
print("Chiefsettings: "..mods)
|
print("Chiefsettings: "..mods)
|
||||||
|
|
||||||
table.insert(opt, {
|
table.insert(opt, {
|
||||||
|
@ -89,6 +88,9 @@ function OpenChiefAddVehicleMenu()
|
||||||
})
|
})
|
||||||
|
|
||||||
lib.showContext("ChiefAddVehicleMenu")
|
lib.showContext("ChiefAddVehicleMenu")
|
||||||
|
else
|
||||||
|
Notification("Schlüsselkasten", "Kein Fahrzeug gefunden!", "warning")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Notification("Schlüsselkasten", "Keine Fahrzeuge von dir Gefunden!", "error")
|
Notification("Schlüsselkasten", "Keine Fahrzeuge von dir Gefunden!", "error")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue