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

From BZFlagWiki
Revision as of 06:14, 15 December 2008 by Javawizard2539 (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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