brandstation Developments
  • brandstation Developments
    • Information
    • Common Errors
  • 🚗Dealerships
    • Information
    • Docs
    • Exports
  • 🚨Dispatch
    • Information
    • Docs
    • Exports
  • 📱Advanced Drugsell
    • Information
    • Docs
    • Exports
Powered by GitBook
On this page
  1. Dealerships

Exports

Here you can find all exports for the script

openDealershipAdmin (Server)

Opens the dealership admin menu

Data

  • source: number

Example
exports.bd_dealerships:openDealershipAdmin(1)
fetchVehicles (server)

Fetch all vehicles, returns vehicles as table

Example
local vehicles = exports.bd_dealerships:fetchVehicles()
fetchVehiclesCategory (Server)

Fetch all vehicles from specific category, returns vehicles as table

Data

  • dealershipId: string

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

Last updated 3 months ago

🚗