player.AreTeamsLiving(ignorePassiveWinners)

Returns whether the there are members of the various teams left alive.
Realm: Client and Server
Added in: 1.2.7
Parameters:

Returns:

player.ExecuteAgainstTeamPlayers(roleTeam, detectivesAreInnocent, aliveOnly, callback)

Executes a callback function against the players that are members of the specified "role team" (see ROLE_TEAM_* global enumeration).
Realm: Client and Server
Added in: 1.3.1
Parameters:

player.GetLivingInRadius(pos, radius)

Returns a table of all players who are alive and within radius units of pos.
Realm: Client and Server
Added in: 1.8.3
Parameters:

player.GetLivingRole(role)

Returns a single player that is alive and belongs to the given role (or nil if none exist). Useful when trying to get the player belonging to a role that can only occur once in a round.
Realm: Client and Server
Added in: 1.2.7
Parameters:

player.GetRoleTeam(role, detectivesAreInnocent)

Gets which "role team" a role belongs to (see ROLE_TEAM_* global enumeration).
Realm: Client and Server
Added in: 1.2.7
Parameters:

player.GetTeamPlayers(roleTeam, detectivesAreInnocent, aliveOnly)

Returns a table containing the players that are members of the specified "role team" (see ROLE_TEAM_* global enumeration).
Realm: Client and Server
Added in: 1.3.1
Parameters:

player.IsRoleLiving(role)

Returns whether a player belonging to the given role exists and is alive.
Realm: Client and Server
Added in: 1.2.7
Parameters:

player.LivingCount(ignorePassiveWinners)

Returns the number of players left alive.
Realm: Client and Server
Added in: 1.3.1
Parameters:

player.TeamLivingCount(ignorePassiveWinners)

Returns the number of members of the various teams left alive.
Realm: Client and Server
Added in: 1.3.1
Parameters:

Returns: