absolut.
Silver Elite
This was sourced from
To whom it might interest,
Please keep in mind that I don't exactly know what I'm doing. I have minimum Lua experience and would not know how to further optimise the system.
Although, I've done a fairly decent job as the resource is now taking half of the ms.
Stay Safe,
Absolut.
Hidden link for visitors, to see
Log in or register now.
To whom it might interest,
Please keep in mind that I don't exactly know what I'm doing. I have minimum Lua experience and would not know how to further optimise the system.
Although, I've done a fairly decent job as the resource is now taking half of the ms.
Changes:
-Optimised for the latest qb-core build.
-Functionality for oxmysql.
-Changed vehicle spawn and cam to Inside Dealership.
-Added Routing Bucket equivalent to the player ID for when viewing a vehicle and Test Driving it.
-Removed npc population for when in a Routing bucket to save resources.
-Added original qb-vehicleshop Plate Generation function. - It is way more optimised and overall works better.
-Check if a player is already in a driving test so that it can't be abused or spammed.
OPTIONAL
_________
qb-customs
-Added a check on the vehicle to see if there is a custom colour. (Colors From the vehicleshop colorwheel are custom)
-Temporarily remove the custom colour to allow the normal colour to be displayed. (both primary and secondary)
-Repaint the vehicle with the custom colours if no default colour is selected. (both primary and secondary)
-Optimised for the latest qb-core build.
-Functionality for oxmysql.
-Changed vehicle spawn and cam to Inside Dealership.
-Added Routing Bucket equivalent to the player ID for when viewing a vehicle and Test Driving it.
-Removed npc population for when in a Routing bucket to save resources.
-Added original qb-vehicleshop Plate Generation function. - It is way more optimised and overall works better.
-Check if a player is already in a driving test so that it can't be abused or spammed.
OPTIONAL
_________
qb-customs
-Added a check on the vehicle to see if there is a custom colour. (Colors From the vehicleshop colorwheel are custom)
-Temporarily remove the custom colour to allow the normal colour to be displayed. (both primary and secondary)
-Repaint the vehicle with the custom colours if no default colour is selected. (both primary and secondary)
Stay Safe,
Absolut.