Listing certain players
#3

pawn Код:
for(new i ; i < MAX_PLAYERS ; i++ )
{
   if(IsPlayerConnected( i ))
   {
         if( My_Enum[ i ][ pTeamOrClass ] == TEAM_POLICE )
         {
             printf("%d", i);
         }
    }
}
Something like that, where you change the condition of the players to be included to your own.
Reply


Messages In This Thread
Listing certain players - by BossZk - 12.05.2013, 10:51
Re: Listing certain players - by park4bmx - 12.05.2013, 10:56
Re: Listing certain players - by RajatPawar - 12.05.2013, 10:56
Re: Listing certain players - by BossZk - 12.05.2013, 11:10
Re: Listing certain players - by park4bmx - 12.05.2013, 11:12
Re: Listing certain players - by Lordzy - 12.05.2013, 11:29
Re: Listing certain players - by BossZk - 12.05.2013, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)