Number Of Arguments Does Not Match Defenition
#4

pawn Код:
public healthcheck()
{
    new animonoroff;
    for(new i;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerConnected(i))
        {
            new Float:health;
            GetPlayerHealth(i,health);
            if (health < 25.0)
            {
                OnPlayerCommandText(i,"/crack");
                SendClientMessage(i, COLOR_YELLOW, "You Can Use /kill if you want to die, or use /call 911 for EMS");
                animonoroff = 1;
            }
            else
            {
                if ((animonoroff) == 1)
                {
                    ClearAnimations(i);
                }
            }
        }
    }
}
Have fun.

Jeffry
Reply


Messages In This Thread
Number Of Arguments Does Not Match Defenition - by Jack_Rocker - 02.04.2011, 10:50
Re: Number Of Arguments Does Not Match Defenition - by HyperZ - 02.04.2011, 10:56
Re: Number Of Arguments Does Not Match Defenition - by Jack_Rocker - 02.04.2011, 11:04
Re: Number Of Arguments Does Not Match Defenition - by Jeffry - 02.04.2011, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)