Method
Map:GetPlayers
[-]
[+]
Returns a table with all the current Players in the map
enum TeamId
{
TEAM_ALLIANCE = 0,
TEAM_HORDE = 1,
TEAM_NEUTRAL = 2
};
mapPlayers = Map:GetPlayers( team )
TeamId team
Optional check team of the Player, Alliance, Horde or Neutral (All).
table mapPlayers
- See method description.