UTIL_TeamsMatch

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)

UTIL_TeamsMatch is a UTIL function that attempts to match two team names.

If the game is teamplay or the team names match, UTIL_TeamsMatch returns true; otherwise it returns false.

Todo: Add examples for UTIL_TeamsMatch.

Declaration

bool UTIL_TeamsMatch( const char *pTeamName1, const char *pTeamName2 );