Skip to content

Script For Buying Vehicles Used With QB-Core 🚗

Notifications You must be signed in to change notification settings

DmACKGL/qb-vehicleshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Script For Buying Vehicles Used With QB-Core 🚗

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published