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

bz_getPlayerFlag

From BZFlagWiki
Revision as of 06:41, 15 December 2008 by Javawizard2539 (Talk | contribs)

Jump to: navigation, search

const char* bz_getPlayerFlag (int playerID)


Gets the flag id of the flag that the specified player is currently holding.

Parameters:
playerID  -  The id of the player to check
Returns:
The two-character flag id of the flag that the player specified is holding, or NULL if the player does not exist or is not currently holding a flag