08.02.2014, 11:37
Have you noticed there's also a respawn_delay option for CreateVehicle
https://sampwiki.blast.hk/wiki/CreateVehicle
Instead of using that big code to respawn vehicles.. you can simply use CreateVehicle function.
https://sampwiki.blast.hk/wiki/CreateVehicle
Код:
// Add a Hydra to the game with a respawn time of 60 seconds - When a driver exits the vehicle. CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);