27.02.2014, 16:56
Just to let you know that using SetVehicleToRespawn function inside OnVehicleSpawn callback is like an infinite loop.
SetVehicleToRespawn calls OnVehicleSpawn and in OnVehicleSpawn, you call SetVehicleToRespawn so the same thing goes over and over again.
OnVehicleSpawn is called when a vehicle re-spawns, not when it's created.
SetVehicleToRespawn calls OnVehicleSpawn and in OnVehicleSpawn, you call SetVehicleToRespawn so the same thing goes over and over again.
OnVehicleSpawn is called when a vehicle re-spawns, not when it's created.