1
0
Fork 0
forked from Simnation/Main

Update stored.lua

This commit is contained in:
Miho931 2025-06-09 18:19:22 +02:00
parent 57477731ab
commit 36dd7753f7

View file

@ -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
}, },
{ {