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,9 +79,9 @@ CreateThread(function()
end)
function AddTargetOptions(zone)
exports['qb-target']:AddTargetEntity(npcHandle, {
options = {
{
local opt = {
{
type = "client",
event = "mh_garage:storeVehicle",
icon = "fas fa-parking",
@ -103,7 +103,9 @@ function AddTargetOptions(zone)
label = "Fahrzeuge Verwalten",
}
end
},
}
exports['qb-target']:AddTargetEntity(npcHandle, {
options = opt,
distance = 2.5
})
end

View file

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