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",
title = random.name,
options = {
{title = "Kosten: "..CurrentZone.price},
{title = ""},
{title = "Kosten: "..CurrentZone.price.."$"},
{title = "", disabled = true},
{
title = "Akzeptieren",
description = "Geld wird vom Bankkonto abgebucht!",
icon = "check",
onSelect = function()
lib.hideContext("thisVehicle")
QBCore.Functions.TriggerCallback('mh_garage:storedVehicle', function(cb)
@ -41,7 +42,7 @@ AddEventHandler('mh_garage:storeVehicle', function()
end
Notification(cb.text, cb.type)
end
end, veh, CurrentZone)
end, mods, CurrentZone)
end
},
{