This wiki is archived and useful information is being migrated to the main bzflag.org website
bz_getPlayerTeam
From BZFlagWiki
bz_eTeamType bz_getPlayerTeam (int playerID)
Minimum API Version: 2.99.x or later
Returns the player's team.
Parameters:
playerID - Player to lookup.
Returns:
Team the player belongs to.