15.12.2012, 19:12
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;
}
http://forum.sa-mp.com/showpost.php?...44&postcount=2
But its with a random timer for a realistic start!