UTIL_TeamsMatch

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png

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.

Blank image.pngTodo: Add examples for UTIL_TeamsMatch.

Declaration

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