07.07.2009, 22:51
Quote:
Originally Posted by Finn
You're using OnVehicleSpawn callback, which means that it's called when the vehicle is spawned and when the vehicle is spawned it surely doesn't have 30.0 health.
You need to use a timer that checks the vehicle's health every second or so, and if the health is under 30.0, make the explosion. Use SA-MP wiki to get help with timers. |