Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 2.03 KB

File metadata and controls

62 lines (44 loc) · 2.03 KB
description
Easily manage in-game vehicles with the CMS QB Core management panel!

Vehicles

Sonoran CMS - QBCore Game Panel Promotional Image

Switch Between Live and DB Vehicles

You can switch to view only live vehicles active in the server, or all vehicles in the database at the top right.

Add a Vehicle

Selecting Add Vehicle at the top right allows you to create a new vehicle and assign it's ownership to a player.

Manage a Vehicle

Select any vehicle to modify it's information, transfer ownership, repair it, or delete it from the server.

Supported Garage Scripts

Currently, Sonoran CMS supports the following QB Core garage scripts:

  • QB (Base) Garages
  • Codesign Garage
  • Quasar Advanced Garages
  • JG Advanced Garages
  • AK47 QG Garage

You can suggest more integrations on our support portal or if you would like to add the support yourself, simply paste this code snippet in any SERVER-sided file in your garage resource.

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)