bz_hasPerm

From BZFlagWiki
Revision as of 06:11, 15 December 2008 by Javawizard2539 (Talk | contribs) (New page: {{apicall | name = bz_hasPerm | description = Checks to see if the player specified has the permission specified. | param1 = playerID | param1type = int | param1desc ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

bool bz_hasPerm (int playerID, const char* perm)


Checks to see if the player specified has the permission specified.

Parameters:
playerID  -  The id of the player to check
perm  -  The name of the permission to check for
Returns:
True if the player specified has the permission specified, false if they do not have the permission specified