Cars Exploding
#2

pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
    new Float:health;
    GetVehicleHealth(vehicleid, health);
    if(health<320)
        {
             SetVehicleHealth(vehicleid, 350);//so it doesn't explode
             //To turn the engine off use my custom function(if you want)
             VehicleEngine(vehicleid,true)
        }
    return 1;
}
you can find the function here:
http://forum.sa-mp.com/showpost.php?...44&postcount=2

But its with a random timer for a realistic start!
Reply


Messages In This Thread
Cars Exploding - by Krakuski - 15.12.2012, 19:07
Re: Cars Exploding - by park4bmx - 15.12.2012, 19:12

Forum Jump:


Users browsing this thread: 1 Guest(s)