GetPlayerTeam

int GetPlayerTeam(int player)

Description

Returns the team the specified player belongs to. Shorthand for GetPlayerInfo(player, PLAYERINFO_TEAM).

Not to be confused with PlayerTeam, which returns the activator's team.