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",
|
||||
onSelect = function()
|
||||
if zone.price == nil then
|
||||
|
||||
|
||||
else
|
||||
local alert = lib.alertDialog({
|
||||
lib.alertDialog({
|
||||
header = "Parkplatz kosten",
|
||||
content = "Parkplatkosten pro Fahrzeug: "..zone.price.."\n\nWillst du das Parkplatz trotzdem Einparken?",
|
||||
centered = true,
|
||||
cancel = true
|
||||
})
|
||||
|
||||
print(alert)
|
||||
print(json.encode(alert))
|
||||
end
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue