forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
d20cb0822e
commit
0ccb1025e4
1 changed files with 11 additions and 9 deletions
|
@ -94,16 +94,18 @@ function AddTargetOptions(zone)
|
||||||
icon = "fas fa-car",
|
icon = "fas fa-car",
|
||||||
label = "Fahrzeug ausparken",
|
label = "Fahrzeug ausparken",
|
||||||
args = zone
|
args = zone
|
||||||
},
|
}
|
||||||
if Config.Verwaltung.garage then
|
|
||||||
{
|
|
||||||
type = "client",
|
|
||||||
event = "mh_garage:verwaltungVeh",
|
|
||||||
icon = "",
|
|
||||||
label = "Fahrzeuge Verwalten",
|
|
||||||
}
|
|
||||||
end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if Config.Verwaltung.garage then
|
||||||
|
table.insert(opt, {
|
||||||
|
type = "client",
|
||||||
|
event = "mh_garage:verwaltungVeh",
|
||||||
|
icon = "",
|
||||||
|
label = "Fahrzeuge Verwalten",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
exports['qb-target']:AddTargetEntity(npcHandle, {
|
exports['qb-target']:AddTargetEntity(npcHandle, {
|
||||||
options = opt,
|
options = opt,
|
||||||
distance = 2.5
|
distance = 2.5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue