What's new

Script QB-Cardealer(New)

Quattro

Silver Elite
Joined
Feb 28, 2021
Messages
22
Reaction score
8,166
Points
296
Location
LocalHost
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.






 

whoopsijust

Member
Joined
Aug 23, 2021
Messages
1
Reaction score
0
Points
156
Anyone happen to have a copy of QBCore.Functions.GetVehiclesInArea they could shoot through for me?
 

SmallJohn

Member
Joined
Aug 15, 2021
Messages
3
Reaction score
1
Points
156
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.






boss menu isnt working for some reason with it and is there any chance you can share your db for it
 

ZUMBI3YT1

Gold Elite
Joined
Apr 13, 2021
Messages
33
Reaction score
3,147
Points
296
Anyone happen to have a copy of QBCore.Functions.GetVehiclesInArea they could shoot through for me?
use a different function like GetClosestVehicle that works the same way and it works for new qbcore.
 

kennykevin1

Member
Joined
Aug 19, 2021
Messages
18
Reaction score
1
Points
156
Guys please help i have no SQL for this.



[ script:qb-cardealer] Error loading script server/main.lua in resource qb-cardealer: @qb-cardealer/server/main.lua:14: attempt to index a nil value (global 'QBCore')
[ script:qb-cardealer] stack traceback:
[ script:qb-cardealer] @qb-cardealer/server/main.lua:14: in main chunk
 

elkied

Member
Joined
Aug 25, 2021
Messages
15
Reaction score
1
Points
156
Guys please help i have no SQL for this.



[ script:qb-cardealer] Error loading script server/main.lua in resource qb-cardealer: @qb-cardealer/server/main.lua:14: attempt to index a nil value (global 'QBCore')
[ script:qb-cardealer] stack traceback:
[ script:qb-cardealer] @qb-cardealer/server/main.lua:14: in main chunk
You running a new version of qb?
 

PLTRP412

Member
Joined
Feb 9, 2022
Messages
1
Reaction score
0
Points
146
Location
usa
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.






I installed this script and put all the vector4 points in but I'm not getting any boss menu. Do you think that the pdm script could be conflicting with this one.
 

dohead12

Member
Joined
Dec 21, 2021
Messages
9
Reaction score
1
Points
156
Location
england
UPDATE THE CORE IN THE SCRIPT!!! 'local QBCore = exports['qb-core']:GetCoreObject()' at the top of all client and server side
MAKE SURE TO REPLACE THE 'QBCore = nil'
 

TURKEY

Bronze Elite
Joined
Feb 28, 2022
Messages
10
Reaction score
2
Points
166
Location
IRAQ
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.



*** Hidden text: cannot be quoted. ***



 

Lavishhugo

Silver Elite
Joined
Feb 18, 2022
Messages
20
Reaction score
7
Points
166
Location
maryland
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.



*** Hidden text: cannot be quoted. ***



 

Sammytv

Silver Elite
Joined
Apr 27, 2021
Messages
15
Reaction score
7
Points
156
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.



*** Hidden text: cannot be quoted. ***



Thank you
 
Top