Congrats on your nee Release
That would be amazing the only reason I ask is some people on my server have whitelist ace perm and I wanted to restrict certain dealerships to that ace. I would be happy if it was a simple callback with a check for the dealership name/id
If it was open source I would buy it.
Gambling a locked script is bad idea
Yeah, someone in my community also wants to be able to restrict dealership access based on if they have a license. I think what Iâm going to do is create an open callback so you can add custom code that can prevent use of the dealership
best car dealer, garage and support! perfect team!
Really looking forward to this update for employees and would be cool to see a repo setup aswell
I just have to give this script some love. We have been looking for something to replace qb-vehicleshop and this script is 100x better in every aspect!
v1.1 major update with employees, direct sales, sell vehicle + much more!
Video: https://www.youtube.com/watch?v=q08zR7r3ijI
- Dealerships can hire employees
- Employees can sell vehicles directly to customers; showroom can be disabled
- Sell vehicle back to the dealership
- Optional markers so dealership locations are easier to find
- Hide blips (set
hideBlip = true
) within the dealership config - Restrict access to Dealership based on job or gang
- Open callback on client & server for restricting showroom access
- âRestore showroomâ button for resetting display vehicles if they get messed up
- Vehicle sales now show name in Dealership Management
- Toggle financing per dealership
- Set new vehicle plate patterns + fix bug where plate would exist in DB
- Fix: okokTextUI spamming sound (fixed text ui being constantly re-rendered)
- Fix: Health being restored when exiting the dealership/ending test drive
- Fix: SQL error when updating a vehicle in /dealeradmin
- Fix: Colour changing after vehicle purchase
- Fix: Financing bugs
v1.2 major update!
I regularly update this script with new features, improved performance & fixes. Updates will be FREE, forever. With JG Dealerships now being the most popular* paid Dealerships script available, I wanted to make it even better!
Features
- Refreshed codebase, using ox_lib, cleaner code & better practices
- Performance improves with showroom caching and more efficient database queries
- Preview vehicle images in Showroom (like Advanced Garages)
- Rewritten spawning logic and ability to toggle
CreateVehicleServerSetter
- Full native Qbox support (with Qbox vehicle importing!) - I love Qbox <3
- Configure custom vehicle colours (hex) for purchases & display vehicles
- Showroom camera can now be configured with a custom heading
- Prevent shooting in test drives
- Can change chat command names in config
Integrations
- Integration with Advanced Garages v3 (as a heads up, v3 will require this release to work)
- AdvancedParking integration
- okokBanking integration
- MrNewbVehicleKeys & Renewed keys integrations
Fixes
- Fix issue where vehicles would have a blank props JSON after purchase
- Fix withdraw/deposit NUI exploit
- Fix ability to bypass
ShowroomJobWhitelist
with display vehicles - Removed escrowed framework-specific code for better compatibility with modified frameworks
- Stopped forcing the plate index to be 0
- Prevented breaking in to display vehicles
- Improved license plate generator
- Lots of small bugs & issues squashed
* By server count, according to 5Metrics July 2024
How do I make the cars purchasao for playets??
Hey love the script but for some reason after purchasing a vehicle I can not change the color at the mechanic shop. Can someone please help me?
[script:jg-dealership] SCRIPT ERROR: @jg-dealerships/config/config-sv.lua:7: attempt to call a nil value (field âCreateCallbackâ)
Anyone know why this is doing it
What do you mean by this?
The script sets RGB vehicle colours on purchase. You will need a mechanic script that is compatible with RGB colours - we are considering adding a config option to go back to colour IDs.
In v1.2 and newer versions of the script weâve started using ox_lib and removed our callback wrapper. You are either using an out of date snippet in your config-sv.lua or you havenât done a full replace of your files when you upgraded from a previous version.
I am in a server to use this I have a dealership in the service but after the admin add the cars to it only a head full of the cars show up in the showroom but they all show up in the manager menu do you have any suggestions for fixing this
After adding them to the admin menu (/dealeradmin) you have to make sure they are actually added to the dealership locations you want them to show up in. If you did an import, this would have been as automatic as possible using the data currently available (such as getting the shop = {}
data from QBCoreâs shared/vehicles.lua).
You can fix this manually by clicking âEditâ on the vehicles in /dealeradmin, and checking the boxes of the dealership locations you want that vehicle to show in
Hello!
Congratulations on your script! I have a quick question: Iâd like to restrict access to a specific category in a dealership to a particular job. Unfortunately, I havenât found a way to do this. The only solution Iâve found is to create a dealership exclusively for that job, which I find a bit inconvenient. Could you please help me? Thank you in advance.
One last little suggestion, and I promise I wonât bother you anymore! Would it be possible to add an option to block personal purchases when itâs a dealership dedicated to a specific job, for example? Thank youuu!
Oh this is strange - sorry about that! Would you be able to open a support ticket in our Discord so we can look into this? https://discord.gg/jgscripts