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: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
New page: {{apicall | name = bz_grantPerm | description = Grants the specified player the specified permission. After this method has been called, calls to bz_hasPerm, passing in this...
 
(No difference)

Latest revision as of 06:14, 15 December 2008

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