[HELP]Loop and count players
#2

pawn Код:
new count = 0;
for(new i=0; i<=MAXPLAYERS; i++)
{
    if(IsPlayerConnected(i)) count++;
    if((IsPlayerInArea(bla, bla, bla, bla) && count >= 2)
    {
      //Do something if at least 2 players are in area...
      return 1;
    }
}
Reply


Messages In This Thread
[HELP]Loop and count players - by [HT]playstation - 16.01.2010, 11:28
Re: [HELP]Loop and count players - by [HiC]TheKiller - 16.01.2010, 11:50
Re: [HELP]Loop and count players - by [HT]playstation - 16.01.2010, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)