[HELP] Command that shows online team members?
#1

Hi,

I need a command that shows online players that are mmebers of gTeam 1. For example, if I type /team I get a list of all online members of that team.

Thanks
Reply
#2

Bump
Reply
#3

pawn Код:
command(team, playerid, params[])
{
     for(new i; i < MAX_PLAYERS; i++)
     {
          if(gTeam[i] == 1) printf("PlayerID: %d is in team id: %d", i, gTeam[i]);
     }
     return 1;
}
Reply
#4

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
pawn Код:
command(team, playerid, params[])
{
     for(new i; i < MAX_PLAYERS; i++)
     {
          if(gTeam[i] == 1) printf("PlayerID: %d is in team id: %d", i, gTeam[i]);
     }
     return 1;
}
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)