Added oxmysql support. (You can change it from the config file.)
Fixed the problem of staying in the menu when the vehicle is not added.
DrawTextui just converted to cd_drawtextui(for general use.)
Update:28/08
Option to use with bt-target has been introduced. In this way, it has a consumption of 0.02.
I have change menu to nh-context very powerful script. In this way consumption in the menu has decreased.
Some links were working with steam ID and there was custom stuff in SQL query. I remove these. And I made it rockstar license number.(This is how the original QBUS uses it.)
Update:26/08
@Kmack710 has been an inspiration to me. First of all, I thank him. This inspired to do the rapid optimization. Your comment was definitely helpful.
For now, I added 2 new contexts. We experienced 50% 60% performance gain with a very simple method. With his suggestion, I will do a detailed study and observe the results.
We knew that printing text consumes a lot of resources. That’s why I removed it. I added a simple UI notification. In this way, we made a good profit. And since I’m using PolyZone, the Create.Thread part is not constantly checking position.
Thus, a more optimized situation occurred while navigating the menu. And we saw values of 0.09.
Wouldn’t it be easier to use NH-context ? Or if you use NH-context already and its doing 0.45 it prob means you have the menu in a citizen thread without a break/wait at the end of it (Since you only need the menu to load fully once every time they open the stop) to stop the high resmon.
Looks good for sure but anything that ever his 0.45 is very un-optimized my whole server runs at 2.0ms or less so this would add like 25% more usage.
Not trying to be rude or anything just trynna help you figure out how to make it more optimized so more people will get it.
Edit - Glad I could help out with getting the MS down Great work!
Thanks for that info.I was unaware about the UI but at a glance they did look like NP cars, my bad for the thought but non the less, the Script is pretty darn nice.Very nice job
Actually no, if you look at the previous versions you will see the differences. qb-vehicleshop was updated after this script. So it’s normal to have similarities.
I just bought this script and maybe I am blind but I don’t understand where to add cars to the config. I can’t edit the client or server files either because they are obfuscated.
HELP!!!
Update: I figured it out. The readme said
" Do the SQL(importveh.sql) query in it. And then start the script."
I didn’t realize I had to add the cars to the SQL as well as the QB-Core shared file.
I do have a question though… is there an option to have a car on display?
Hi Thanks for bought, I’m glad you fixed the problem.Since there are various abuses, the vehicles are only seen at the stage when the catalog is looked at. In other words, it is not possible for the vehicles to appear as showrooms all the time, unfortunately.