1
0
Fork 0
forked from Simnation/Main

Update retrieve.lua

This commit is contained in:
Miho931 2025-06-25 20:42:53 +02:00
parent a46b5450b7
commit 0fe9c9b659

View file

@ -36,7 +36,11 @@ AddEventHandler('mh_garage:retrieveVehicle', function()
local opt = {}
QBCore.Functions.TriggerCallback('mh_garage:retrieveKeyVehicle', function(cb)
Debug(json.encode(cb))
if cb == false then
Notification("Es ist kein Fahrzeug hier!", "inform")
return
end
for i = 1, #cb, 1 do
if cb[i].garage ~= "OUT" then
local mods = json.decode(cb[i].mods)