Stop Vehicles from respawning too quickly
#1

I use AddStaticVehicleEx for my vehicle spawns, with the timer set to 60. If a player leaves his car for more than 60 seconds, the car disappears. Any way I can stop this? I don't want to use AddStaticVehicle because that doesn't put the vehicle back where it spawned, it respawns the vehicle(if it was destroyed) where it was destroyed.
Reply
#2

use CreateVehicle func.
Reply
#3

Does that work for loading vehicles from a file?

If so, how do I implement it?
Reply
#4

Quote:
Originally Posted by biltong
Does that work for loading vehicles from a file?

If so, how do I implement it?
sure. look here https://sampwiki.blast.hk/wiki/CreateVehicle
and use for example dini (old)
or latest DJson http://forum.sa-mp.com/index.php?topic=71125.0
both by Dracoblue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)