Hey guys, this is my first release here - it’s a simple vehicle shop through NUI that should be good across resolutions, it uses lazy loading for the images so that performance shouldn’t be impacted for those with slower computers or connections.
Totally open to feedback either through here or on github - the release is opensource so feel free to create PRs if you’re looking to contribute too
thanks Thats a good start
ıf ı have a lvl up xp system on my server
how can ı connect them to each other
like there will be cars you cant get till you be in lvl 10 maybe
Without knowing how your XP system works, I guess you’d want to take a look at the server/main.lua at the MySQL.ready function - where I place all vehicles from the vehicles table into an object - you could instead filter that list and remove any vehicles you don’t want to be available to players.
Hey dude, if you don’t want to use externally hosted images, you could add a folder to the html folder for images and then replace this in the ui.html;
Thanks for the positive feedback guys. I’ve pushed several commits and bumped the latest release up to v1.1, it mainly includes bug fixes for things I’ve forgotten to remove that relied on my own servers setup but I’ve also added a version checker so even if you don’t keep track of the thread you’ll see that updates or fixes are available when ready