Vehicle Shop for QB-Core Framework 🚗
- qb-core
- qb-garages - For the garages
- qb-vehiclekeys - For the vehicle keys
- Vehicle shop with NUI interface
- Color picker (RGB)
- Ability to test drive a vehicle (Test length is configurable)
- Download the script and put it in the
[qb]
directory. - Import
qb-vehicleshop.sql
in your database - Add the following code to your server.cfg/resouces.cfg
start qb-vehicleshop
Config = {}
Config.PlateLetters = 4 -- Amount of letters used in vehicle plate.
Config.PlateNumbers = 4 -- Amount of numbers used in vehicle plate.
Config.PlateUseSpace = false -- true: There will be a space in plates between letters and numbers. / false: There won't be a space in plates between letters and numbers.
Config.SpawnVehicle = true -- true: Vehicle will be spawned when you buy a vehicle. / false: Vehicle won't be spawned when you buy a vehicle.
Config.TestDrive = true -- true: Players will be available to test drive the vehicles.
Config.TestDriveTime = 30 -- Test length for players (seconds)