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 (version) |
m (return -> returns) |
||
Line 6: | Line 6: | ||
| param1desc = Player to lookup. | | param1desc = Player to lookup. | ||
| returnType = bz_eTeamType | | returnType = bz_eTeamType | ||
− | | | + | | returns = Team the player belongs to. |
| version = 2.99.x or later | | version = 2.99.x or later | ||
}} | }} |
Revision as of 00:04, 12 February 2009
{{{returntype}}} 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.