Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.54 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.54 KB

qb-vehicleshop

Vehicle Shop for QB-Core Framework 🚗

Dependencies

Screenshots

Vehicle shop Purchase confirmation Test drive

Features

  • Vehicle shop with NUI interface
  • Color picker (RGB)
  • Ability to test drive a vehicle (Test length is configurable)

Installation

Manual

  • 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

Configuration

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)

Credits to Luminous Development for the source code https://luminous-webstore.tebex.io/package/4295383