RSS

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

ArenaTeamSetLeaderByName

[ править ]
Promotes an arena team member to team captain.
[клоны]
Promotes an arena team member to team captain. Only has effect if the player is captain of the given team.

Signature:
Code
ArenaTeamSetLeaderByName(team, "name")

Arguments:
  • team - Index of one of the player's arena teams (number, arenaTeamID)
  • name - Name of a team member to promote (string)

This function does not prompt the user for confirmation before its results take effect -- that behavior is provided by the default UI, and this function is called from the confirmation dialog

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