1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Miho931 2025-06-09 14:13:06 +02:00
parent 0e50d7b43a
commit d20cb0822e
2 changed files with 7 additions and 5 deletions

View file

@ -79,8 +79,8 @@ CreateThread(function()
end) end)
function AddTargetOptions(zone) function AddTargetOptions(zone)
exports['qb-target']:AddTargetEntity(npcHandle, {
options = { local opt = {
{ {
type = "client", type = "client",
event = "mh_garage:storeVehicle", event = "mh_garage:storeVehicle",
@ -103,7 +103,9 @@ function AddTargetOptions(zone)
label = "Fahrzeuge Verwalten", label = "Fahrzeuge Verwalten",
} }
end end
}, }
exports['qb-target']:AddTargetEntity(npcHandle, {
options = opt,
distance = 2.5 distance = 2.5
}) })
end end

View file

@ -61,7 +61,7 @@ function OpenVerwaltung(vehicleInfos)
print(selected, secondary, json.encode(args, {indent=true})) print(selected, secondary, json.encode(args, {indent=true}))
end, end,
options = { options = {
{label = "Name ändern", icon = "paper", } {label = "Name ändern", icon = "paper"},
{label = 'Transport to:', icon = 'arrows-up-down-left-right', values=garages}, {label = 'Transport to:', icon = 'arrows-up-down-left-right', values=garages},
} }
}, function(selected, scrollIndex, args) }, function(selected, scrollIndex, args)