• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Getting online players of specific team
#2
Code:
GetOnlinePlayersFromTeam(teamid) {

? ? new count;

? ? foreach(new i : Player) {

? ? ? ? if (GetPlayerTeam(i) == teamid) count;

? ? }

? ? return count;

}



// new count =?GetOnlinePlayersFromTeam(5);
  Reply


Messages In This Thread
RE: Getting online players of specific team - by Radical - 2021-04-17, 09:59 AM

Forum Jump: