Exports

Here you can find all exports for the script

chevron-rightopenDealershipAdmin (Server)hashtag

Opens the dealership admin menu

Data

  • source: number

Example
exports.bd_dealerships:openDealershipAdmin(1)
chevron-rightfetchVehicles (server)hashtag

Fetch all vehicles, returns vehicles as table

Example
local vehicles = exports.bd_dealerships:fetchVehicles()
chevron-rightfetchVehiclesCategory (Server)hashtag

Fetch all vehicles from specific category, returns vehicles as table

Data

  • dealershipId: string

Example
local vehicles = exports.bd_dealerships:fetchVehiclesCategory('cardealer')

Last updated