What's wrong
#1

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;
}
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
error 008: must be a constant expression; assumed zero

Thanks.
Reply


Messages In This Thread
What's wrong - by Face9000 - 07.06.2011, 15:07
Re: What's wrong - by xRyder - 07.06.2011, 15:10
Re: What's wrong - by Face9000 - 07.06.2011, 15:14
Re: What's wrong - by xRyder - 07.06.2011, 15:20
Re: What's wrong - by Face9000 - 07.06.2011, 15:23

Forum Jump:


Users browsing this thread: 2 Guest(s)