Player Loop Question ?
#3

Also don't put player loops in OnPlayerUpdate.

It can be thought of a loop itself. It gets called several times each second, for each player.

pawn Code:
public OnPlayerUpdate(playerid)
{
    if(/* My Area Check(playerid) */)
    {
        SendClientMessage(playerid, -1, "you are in");
    }
    return 1;
}
Reply


Messages In This Thread
Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:00
Re: Player Loop Question ? - by MP2 - 06.07.2012, 11:03
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:04
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:07
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:08
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:10
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:16
Re: Player Loop Question ? - by Roko_foko - 06.07.2012, 11:20
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:23
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:25

Forum Jump:


Users browsing this thread: 1 Guest(s)