• We are aware of style issues, fixing asap after Gamescom.

QBCORE Vehicle shop

hamzabit

Active member
Joined
Mar 18, 2023
Messages
133
Reaction score
121
Points
43
Credits
6,070
Cardealership script for qbus that requires managers to buy and hold stock to be able to sell vehicles. Comes with boss menu where you can hire unemployed players, promote, fire and demote employees.


Installation requires creating a society (name + money) and cardealer_stock (stock + price + vehicle) tables.


Vehicles are taken from the config files, they need to be present in the shared.lua if you wish to sell them to players and they need to be present in the cardealer_stock table.


Script does not include invoicing Please don't ask me to include a SQL script, they're not super complicated tables.


Preview : https://streamable.com/jr3g7u







Download :
 
  • Post hidden due to user being banned.
  • Post hidden due to user being banned.

FivemDev_

Moderator
Joined
Mar 26, 2022
Messages
113
Reaction score
9
Points
18
Credits
2,638
i saw this posted elsewhere before,is the sql file included in this folder?
 
  • Post hidden due to user being banned.

LOUYDPRO

Member
Joined
Jul 4, 2023
Messages
27
Reaction score
1
Points
8
Credits
8
Cardealership script for qbus that requires managers to buy and hold stock to be able to sell vehicles. Comes with boss menu where you can hire unemployed players, promote, fire and demote employees.


Installation requires creating a society (name + money) and cardealer_stock (stock + price + vehicle) tables.


Vehicles are taken from the config files, they need to be present in the shared.lua if you wish to sell them to players and they need to be present in the cardealer_stock table.



Script does not include invoicing Please don't ask me to include a SQL script, they're not super complicated tables.


Preview : https://streamable.com/jr3g7u







Download : -=Stripped Content=-
hhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhh




hhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhh
Hhhhhhhhhhhhhhhhhhhhhhh
 

corbett._

Member
Joined
Mar 12, 2024
Messages
37
Reaction score
21
Points
8
Credits
2,189
IF YOUR GETTING THIS ERROR: SCRIPT ERROR: @qb-cardealer/server/main.lua:14: attempt to index a nil value (global 'QBCore') FOLLOW THESE STEPS TO FIX

QB-CARDEALER > SERVER > MAIN.LUA Replace
QBCore = nil with local QBCore = exports['qb-core']:GetCoreObject()
QB-CARDEALER > CLIENT > MAIN.LUA Replace QBCore = nil with local QBCore = exports['qb-core']:GetCoreObject()


ADDED SQL FILE, MAKE SURE YOU ADD YOUR OWN VEHICLES INTO THE SQL TABS.
ENJOY.
 

Attachments

Last edited:
Back
Top