[HELP] script errors
#4

Use this one then now.

pawn Код:
public zombtimer(playerid)
{
    new Float:healHP;
    for(new i=0; i<MAX_PLAYERS_EX; i++)
    {
        GetPlayerHealth(i, healHP);
        if(IsPlayerConnected(i))
        {
            if(IsPlayerInRangeOfPoint(i, 10.0, -1701.426757,684.093688,18.226135))
            {
                if(zombie[i] == 0)
                {
                    GivePlayerHealth(i,healHP-5);
                }
            }
        }
    }
    if(healHP < 20)
    {
        if(IsPlayerConnected(i))
        {
                if(zombie[i] == 0)
                {
                    zombie[i] = 1;
                }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] script errors - by euro2cz - 16.05.2012, 16:00
Re: [HELP] script errors - by Ballu Miaa - 16.05.2012, 16:26
Re: [HELP] script errors - by euro2cz - 16.05.2012, 16:37
Re: [HELP] script errors - by Ballu Miaa - 16.05.2012, 16:46
Re: [HELP] script errors - by RedWingz - 16.05.2012, 16:49
Re: [HELP] script errors - by euro2cz - 16.05.2012, 16:50
Re: [HELP] script errors - by Ballu Miaa - 16.05.2012, 16:53
Re: [HELP] script errors - by RedWingz - 16.05.2012, 17:04
Re: [HELP] script errors - by Ballu Miaa - 16.05.2012, 17:09

Forum Jump:


Users browsing this thread: 3 Guest(s)