• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Getting online players of specific team
#3
Code:
for(new player = 0, pool = GetPlayerPoolSize(); player <= pool; player) // cycle through all players

{

    if(GetPlayerTeam(player) == YOUR_TEAM) // if the player has the right team

    {

        // do whatever you want

    }

}
  Reply


Messages In This Thread
RE: Getting online players of specific team - by DandoRYx - 2021-04-17, 09:44 PM

Forum Jump: