This wiki is archived and useful information is being migrated to the main bzflag.org website

bz_grantPerm

From BZFlagWiki
Jump to: navigation, 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