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
.
See also Arena functions.
Signature:
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
)