This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
bz_grantPerm
Jump to navigation
Jump to search
void bz_grantPerm (int playerID, const char* perm)
Grants the specified player the specified permission. After this method has been called, calls to bz_hasPerm, passing in this player's id and the permission specified, will return true.
Parameters:
playerID - The id of the player to grant the permission to
perm - The name of the permission to grant