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
};

Synopsis

mapPlayers = Map:GetPlayers( team )

Arguments

TeamId team

Optional check team of the Player, Alliance, Horde or Neutral (All).

Returns

table mapPlayers
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine