I have on esx Legacy, sv_enforceGameBuild 3095, latest recommended 7290, the problem that the cars have completely disappeared after leaving the server. So they despawn. Only after a server restart are they visible again. I have tested several scripts for this, but none of them worked. I need help from someone who had a similar problem or is very familiar with it. Or simply a script, if there is one that still works under the new requirements on the server.
Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.
Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.
To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.
If you don’t have a script that respawns vehicles when needed, then they will just despawn. Not sure what you are using that it respawns them after a restart.
Spawning vehicles on client side won’t make them persistent. Even if you spawn the vehicles server side using CreateVehicleServerSetter it is still no guarantee that they will just stay indefinitely.