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

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, 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