I am attempting to develop my own simple script to add some persistence to the vehicles I spawn.
After trawling this forum for a while, there doesn’t look to be a fully working solution - the Boot Vehicles mod looks promising but hasn’t been updated in a while and has lots of reports of duplicate vehicles spawning.
So on to the question; can anyone confirm if using the SetEntityAsMissionEntity FiveM Native will actually stop a vehicle from ever despawning (providing the player doesn’t disconnect)?
I use vMenu and that has a vehicle persistence mode, which I suspect just uses the above native, however I have had vehicles despawning while using that.
on OneSync closest player is the owner of entity (car, object, ped), not sure how it works without oneSync, i have also noticed that there are some sort of “limit” of vehicles that can be set as mission entity