forked from Simnation/Main
Update stored.lua
This commit is contained in:
parent
74349740b5
commit
fc0a0d7f12
1 changed files with 2 additions and 5 deletions
|
@ -18,17 +18,14 @@ AddEventHandler('mh_garage:storeVehicle', function(zone)
|
||||||
icon = "car",
|
icon = "car",
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
if zone.price == nil then
|
if zone.price == nil then
|
||||||
|
|
||||||
else
|
else
|
||||||
local alert = lib.alertDialog({
|
lib.alertDialog({
|
||||||
header = "Parkplatz kosten",
|
header = "Parkplatz kosten",
|
||||||
content = "Parkplatkosten pro Fahrzeug: "..zone.price.."\n\nWillst du das Parkplatz trotzdem Einparken?",
|
content = "Parkplatkosten pro Fahrzeug: "..zone.price.."\n\nWillst du das Parkplatz trotzdem Einparken?",
|
||||||
centered = true,
|
centered = true,
|
||||||
cancel = true
|
cancel = true
|
||||||
})
|
})
|
||||||
|
|
||||||
print(alert)
|
|
||||||
print(json.encode(alert))
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue