public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
if(GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 425
{
new Float:health;
new car;
car = GetPlayerVehicleID(playerid);
GetVehicleHealth(car, health)
if{health < 250) return SendClientMessageToAll(COLOR_YELLOW, "Watch out! A AIR-WAR vehicle is coming down from the sky! Watch your head!");
}
return 1;
}
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
if(GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 425)
{
new Float:health;
new car;
car = GetPlayerVehicleID(playerid);
GetVehicleHealth(car, health);
if{health < 250) return SendClientMessageToAll(COLOR_YELLOW, "Watch out! A AIR-WAR vehicle is coming down from the sky! Watch your head!");
}
return 1;
}
if{health < 250) return SendClientMessageToAll(COLOR_YELLOW, "Watch out! An AIR-WAR vehicle is coming down from the sky! Watch your head!");
if(GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 425)
{
new Float:health;
new car;
car = GetPlayerVehicleID(playerid);
GetVehicleHealth(car, health);
if(health < 250) return SendClientMessageToAll(COLOR_YELLOW, "Watch out! A AIR-WAR vehicle is coming down from the sky! Watch your head!");
}
Originally Posted by Logitech90
if{health < 250)
|