Why isn't this working..
#1

ok this is really annoying me

I have made a timer that will check if a player is in a area and if he is , kill him..... but it isn't working!!
It's so annoying. oh yeah and I used a tutorial


I tried , i tested. now i just don't know. so i decided to post here.

timer:

pawn Код:
SetTimer("Checks",3000,1);
function:

pawn Код:
forward Checks();
public Checks()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i)) continue;
        if(IsPlayerInArea(i,-2931.596, -2981.811, 219.2902, -123.9217))
        {
           
            SetPlayerHealth(i,0);
        }
    }
    return 1;
}
Please help , thanks!
Reply


Messages In This Thread
Why isn't this working.. - by Jay. - 25.06.2011, 17:51
Re: Why isn't this working.. - by Willow - 25.06.2011, 17:55
Re: Why isn't this working.. - by Wesley221 - 25.06.2011, 17:56
Re: Why isn't this working.. - by sleepysnowflake - 25.06.2011, 17:57
Re: Why isn't this working.. - by Jay. - 25.06.2011, 18:00
Re: Why isn't this working.. - by Jay. - 25.06.2011, 18:24
Re: Why isn't this working.. - by gimini - 25.06.2011, 18:32
Re: Why isn't this working.. - by Jay. - 25.06.2011, 18:36
Re: Why isn't this working.. - by gimini - 25.06.2011, 18:42
Re: Why isn't this working.. - by MyLife - 25.06.2011, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)