Skip to Content

bz_getPlayerFlag()

Available since 2.4.0

Gets the flag the given player is currently holding, if any.

Usage

const char* bz_getPlayerFlag(int playerID)
Parameters
int playerID

The id of the player to get the current flag of

Returns

const char* - The two-character flag ID of the flag that the given player is holding, or NULL if the player does not exist or is not currently holding a flag

Other Player Information Functions

Back to bzfs API Functions

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page