RSS

Суббота, 20.04.2024, 18:05
Главная » WoW API » API Функции » Арена »

IsArenaTeamCaptain

[ править ]
Returns whether the player is the captain of an arena team.
[клоны]
Returns whether the player is the captain of an arena team. Also returns 1 if the player is not on a team of the given arenaTeamID.

Signature:
Code
isCaptain = IsArenaTeamCaptain(team)

Arguments:
  • team - Index of one of the player's arena teams (number, arenaTeamID)

Returns:
  • isCaptain - 1 if the player is the captain of the given team; otherwise nil. (1nil)

Также смотрите: Арена , Arena functions
Ссылки: http://wowprogramming.com/docs/api/IsArenaTeamCaptain