06.07.2012, 11:04
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.
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;
}