Skip to Content

bz_getPlayerFlagID()

Available since 2.4.4

Get the flag ID for the flag a player is carrying.

Usage

int bz_getPlayerFlagID(int playerID)
Parameters
int playerID

The player ID of whom to get the flag ID for

Returns

int - The ID of the flag the player is carrying. If the player does not exist or is not carrying a flag, it will return -1.

Other Flag Management Functions

Back to bzfs API Functions

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

Give us Feedback Edit this Page