How do I make it so if a vehicle isn't at it's spawn point it respawns
#1

I have vehicles mapped in at spawn, but if people ram them away they don't respawn unless I use a respawncars command.

How do I make it so that they respawn when they are not at the spawn location
Reply
#2

Set a timer to check the car's position. If the position does not equal it's spawn position (which you can save in variables), make the vehicle respawn with the respawn function.
Reply
#3

https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)