[GARAGE]
This commit is contained in:
parent
6b5b0d18a6
commit
4943239cc8
3 changed files with 9 additions and 9 deletions
|
|
@ -9,7 +9,7 @@ AddEventHandler('mh_garage:retrieveVehicle', function(zone)
|
|||
QBCore.Functions.TriggerCallback('mh_garage:CallVehicles', function(cb)
|
||||
for i = 1, #cb, 1 do
|
||||
table.insert(opt, {
|
||||
title = cb[i].name
|
||||
title = cb[i].name,
|
||||
description = "Kennzeichen: "..cb[i].plate.."\nTankinhalt: "..cb[i].mods.fuelLevel.."%",
|
||||
icon = "car",
|
||||
onSelect = function()
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ AddEventHandler('mh_garage:verwaltungVeh', function()
|
|||
local des = ""
|
||||
|
||||
if isingarage then
|
||||
des = "Bearbeite das Fahrzeug\nKennzeichen: "..cb[i].current_plate.."\nGarage: "..cb[i].current_garage,
|
||||
des = "Bearbeite das Fahrzeug\nKennzeichen: "..cb[i].current_plate.."\nGarage: "..cb[i].current_garage
|
||||
else
|
||||
des = "Bearbeite das Fahrzeug\nKennzeichen: "..cb[i].current_plate.."\nLetzte bekannte Garage: "..cb[i].current_garage,
|
||||
des = "Bearbeite das Fahrzeug\nKennzeichen: "..cb[i].current_plate.."\nLetzte bekannte Garage: "..cb[i].current_garage
|
||||
end
|
||||
|
||||
table.insert(opt, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue