An ACS library for ZDoom-based ports
int GetPlayerTeam(int player)
Returns the team the specified player belongs to. Shorthand for GetPlayerInfo(player, PLAYERINFO_TEAM).
GetPlayerInfo(player, PLAYERINFO_TEAM)
Not to be confused with PlayerTeam, which returns the activator's team.