This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz getPlayerFlag: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
New page: {{apicall | name = bz_getPlayerFlag | description = Gets the flag id of the flag that the specified player is currently holding. | param1 = playerID | param1type = int...
 
No edit summary
Line 6: Line 6:
| param1desc    = The id of the player to check
| param1desc    = The id of the player to check
| returntype    = const char*
| returntype    = const char*
| return        = 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
| 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
}}
}}

Revision as of 06:41, 15 December 2008

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