Hello everyone. I’d like to introduce my first script.
The script makes it possible to
Browse through a list of cars from the config (NUI button click and/or shortcut key)
Show Car info NUI (approximate max speed, #gears, seats, price)
Do a testdrive (NUI button click and/or shortcut key)
Buy the car (uses owned_vehicles table)
Multiple shops are possible!
Video
Configurable items
Blacklisted jobs are not allowed to testdrive / buy vehicles to prevent moneyfarmers
If you’re using high-phone it’s possible to set custom phone numbers/job so everyone of the job will get a text saying the player is moneyfarming
Customizable text above the car
Customizable blips - blips per carposition are possible
Shortcut keys don’t require the player to open the NUI to testdrive/browse. These can be disabled or changed.
Testdrive locations & duration
Shop & vehicle positions
Plate settings
Some performance variables used to determine shop size
Provided locales: NL & EN
Optimized - Tested with i7 8700k & GTX1080ti - See video for ms demonstration
Cars will spawn/despawn from a fixed distance (editable in config)
Standing away from shop cars: 0.00ms
Standing next to a shop car: 0.04ms = the default for just showing 3d text
Using the ‘next’ feature/ loading next cars: 0.07ms
(When spamming this can increase because the vehicles are loading, but this will settle back to 0.4ms if spamming stops)
During testdrive: 0.01ms
The script makes use of ESX, but esx_vehicleshop is not required (so can be replaced by this)
Car data is given in the config file
I wrote the script from scratch, because there wasn’t any (good one) arround at the time I started it.
Once I finished it I put it here to share. Haven’t even seen yours by then, but nice job on your script…
I guess you had the same idea as me, but please don’t accuse me of something I didn’t do.
Hi Taqqz, i actually bought your script a week or two ago but it didnt exceed my expectations. All it did was show 1 car and let you test drive in it. The script this guy made is much more than that. Your script is nice but this script lets you switch between cars, testdrive, have multiple stores and you actually can buy the cars, also blacklisted jobs, custom plates etc etc. And i don’t think anyone could steal your code because its encrypted and its much diffirent. There are a lot of showroom scripts but i think this is the best one.
Hey First of all thank you for the information. If you bought our script why you dont write us that you need help? when a script doesnt work then is the first point to contact the developer to search a solution for that right? all our customers of that showroom script never had this “problem” like you describe. Our script IS possible to testdrive and create unlimited showrooms. The point “buy the cars” is a good one… but 95% of all fivem Servers have a own vehicleshop or a custom one. A lot of vehicleshops dont have the ability to show there cars into a showroom (mlo). The background for the script is that it is a “little extra” for better rp and showcase nice vehicles. Blacklisted Jobs and custom plates are (from my side) not nessecary because in real life you cant get a “custom plate” when you testdrive a car.
Just to specify the custom plates knjgh links to doesn’t mean that the player can define his/hers own plate on buy. It means that the developer can choose the format a plate should be when a player buys a car. (Example: Letter letter letter space number number number)
my showroom is since 2-3 weeks public. For me it was “very suspicious” because you have options (for example the spawn radius or testdrive…) that my showroom include too. I think you can agree that with me. Imagine you create a script with a lot of work. Creating everyday ideas for a perfect UI and then someone public several weeks later a very similar script. I think you wouldnt be amused too. Where I released my script first 20-30 Minutes later there was a “free” script like exactly what I did… And that is not fair… We work hard for our scripts and tries to make them unique as possible. The sentence “stealing my script” is maybe to hard… yes but some ideas are very similar to mine…
I hope you can understand me and I appreciate that you make this script. But maybe you can see it from my side.
Thank you very much for reading and have a good weekend
While the idea might indeed be similar, the “technique” of the spawn radius is actually used for a lot of scripts! (Also used for spawning npc’s and custom props in the world etc).
But I do understand what you mean! Have a nice weekend and happy coding!