An ACS library for ZDoom-based ports
int ConsolePlayerTeam()
Returns the team that ConsolePlayer belongs to. Shorthand for GetPlayerTeam(ConsolePlayerNumber()).
GetPlayerTeam(ConsolePlayerNumber())