28.03.2009, 09:28
you mean if a vehicles healh is below a number, stop that vehicle from moving?
new vehiclehealth;
vehiclehealth = GetPlayerVehicleHealth(playerid);
if(vehiclehealth <= 500)
{
//do your stuff
}
new vehiclehealth;
vehiclehealth = GetPlayerVehicleHealth(playerid);
if(vehiclehealth <= 500)
{
//do your stuff
}