Vehicles keep despawning
#1

Dynamic vehicles keep respawning for an unknown reason, all my vehicles have -1 respawn delay yet they keep randomly despawning, I seem not to figure out where the problem is, any thoughts?

Код:
vehicleid = AddStaticVehicleEx(modelid, x, y, z, a, color1, color2, -1);
Reply
#2

Change -1 by 0, it should work
Reply
#3

What do you mean "dynamic" vehicles? That native creates static vehicles, as is evident from its name.

It can also sometimes happen that vehicles stream in before the world streams in which causes the vehicles to fall into the void. This respawns them on the nearest road node. Meaning that if you have a custom island of some sort the vehicles will respawn back on the mainland.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)