This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Bz getPlayerTeam"
From BZFlagWiki
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 |
| returns = Team the player belongs to. | | returns = Team the player belongs to. | ||
− | | version | + | | 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.