This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Bz getPlayerTeam"

From BZFlagWiki
Jump to: navigation, search
m (return -> returns)
m (returnType -> returntype)
Line 5: Line 5:
 
| param1type  = int
 
| param1type  = int
 
| param1desc  = Player to lookup.
 
| param1desc  = Player to lookup.
| returnType = bz_eTeamType
+
| returntype = bz_eTeamType
 
| returns      = Team the player belongs to.
 
| returns      = Team the player belongs to.
| version     = 2.99.x or later
+
| version     = 2.99.x or later
 
}}
 
}}

Revision as of 00:09, 12 February 2009

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.