07.06.2011, 15:07
pawn Код:
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;
}
fatal error 107: too many error messages on one line
error 008: must be a constant expression; assumed zero
Thanks.