What's wrong
#2

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;
}
?
You forgot a closing bracket at "...GetVehicleModel(vehicleid) == 425...".
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)