Skip to Content

bz_grantPerm()

Available since 2.4.0

Grant a player 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_grantPerm(int playerID, const char* perm)
Parameters
int playerID

The player ID for whom to give a permission to

const char* perm

The permission to give

Returns

bool - True if the permission was given successfully

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