forked from Simnation/Main
Update stored.lua
This commit is contained in:
parent
57477731ab
commit
36dd7753f7
1 changed files with 4 additions and 3 deletions
|
@ -24,11 +24,12 @@ AddEventHandler('mh_garage:storeVehicle', function()
|
||||||
id = "thisVehicle",
|
id = "thisVehicle",
|
||||||
title = random.name,
|
title = random.name,
|
||||||
options = {
|
options = {
|
||||||
{title = "Kosten: "..CurrentZone.price},
|
{title = "Kosten: "..CurrentZone.price.."$"},
|
||||||
{title = ""},
|
{title = "", disabled = true},
|
||||||
{
|
{
|
||||||
title = "Akzeptieren",
|
title = "Akzeptieren",
|
||||||
description = "Geld wird vom Bankkonto abgebucht!",
|
description = "Geld wird vom Bankkonto abgebucht!",
|
||||||
|
icon = "check",
|
||||||
onSelect = function()
|
onSelect = function()
|
||||||
lib.hideContext("thisVehicle")
|
lib.hideContext("thisVehicle")
|
||||||
QBCore.Functions.TriggerCallback('mh_garage:storedVehicle', function(cb)
|
QBCore.Functions.TriggerCallback('mh_garage:storedVehicle', function(cb)
|
||||||
|
@ -41,7 +42,7 @@ AddEventHandler('mh_garage:storeVehicle', function()
|
||||||
end
|
end
|
||||||
Notification(cb.text, cb.type)
|
Notification(cb.text, cb.type)
|
||||||
end
|
end
|
||||||
end, veh, CurrentZone)
|
end, mods, CurrentZone)
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue