Skip to Content

bz_setPlayerOperator()

Available since 2.4.0

Mark a player as a server operator. This is the equivalent of a player using the /password command.

Usage

bool bz_setPlayerOperator(int playerID)
Parameters
int playerID

The player ID to set as an operator

Returns

bool - True if the player was successfully set as an operator

Other Player Permissions Functions

Back to bzfs API Functions

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

Give us Feedback Edit this Page