Hey, here is my permanent vehicle script even after a server reboot.
I managed after more than a month of testing to find a good alternative that works on a server with more than 100 people per night
This script saves the position of the vehicle as well as the cosmetics and damage as shown in the video
A networked video preview would be 10x better, that’s where everything goes downhill with persistent vehicles, but if you manage to have a good networked persistent vehicle system I’m pretty sure you’d get lots of clients.
I do not know the script in question but if there is a problem with my script I could correct it and I would share access to GitHub to have all the corrections
What I mean by networked is to see a few players doing normal gameplay stuff, one logs in he can see your car, you all disconnect and you all see one single car which is networked, a real preview.
Hello top le script mais , probleme de duplication de vehicule par moment, la possibilité d’enregistré la position en bdd et une fonction “garer” sinon soucis avec les garages entreprises, ect et le /car
la duplication je suis entrain de le gérer en ce moment, je vais créer et partager un github pour les correctifs.
La position en bdd serait juste horrible niveau requête, la bdd serait en pls. Vous avez toutes les informations dans le fichier json. Si vous voulez les enregistrez en bdd je ne fournirais pas de support par contre.
Pour garer le vehicule il suffit d’utiliser les triggerevent que j’ai écris, un pour sauvegarder en continu et un autres pour supprimer
The duplication I’m dealing with right now, I’ll create and share a github for the patches.
The position in db would be just horrible request level, the db would be in pls. You have all the information in the json file. If you want to save it as a db I wouldn’t provide support though.
To park the car you just use the triggerevent I wrote, one to save continuously and one to delete
I bought and tested the one you mention and it’s just full of bugs when you have more than 100 players because the saving of vehicles is done on the server side and it’s quite messy when too many players, vehicles end up at random positions on the map or whatever.
So yes I spent more than a month to find a good solution that was tested on a server with more than 100 players
my script also saves npc vehicles that this script does not
but I’m working out some duplication issues that can arise when adding npc vehicles permanently
Fixed any duplicates of vehicles that might be there. this is because the vehicles become ghosts for the player and the server (In Test on my server +100players)
Adding a command to be able to have a marker where the vehicle with the plate in question is located. and add a trigger to get it in another scripts to do something cleaner if you need it