Skip to Content

bz_hasPerm()

Available since 2.4.0

Check if a given player has a permission.

This permission can be one of the default permissions provided by BZFS or it could be a custom one used by a plug-in.

Usage

bool bz_hasPerm(int playerID, const char* perm)
Parameters
int playerID

The id of the player to check

const char* perm

The name of the permission to check for

Returns

bool - True if the player specified has the permission specified

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