Vehicles
Easily manage in-game vehicles with the CMS QB Core management panel!
Last updated
Was this helpful?
Was this helpful?
local function getAllGarages()
local garages = {}
for k, v in pairs(Config.Garages) do
garages[#garages+1] = {
name = k,
label = v.label,
type = v.type,
takeVehicle = v.takeVehicle,
putVehicle = v.putVehicle,
spawnPoint = v.spawnPoint,
showBlip = v.showBlip,
blipName = v.blipName,
blipNumber = v.blipNumber,
blipColor = v.blipColor,
vehicle = v.vehicle
}
end
return garages
end
exports('getAllGarages', getAllGarages)