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 hasPerm: Difference between revisions
Jump to navigation
Jump to search
New page: {{apicall | name = bz_hasPerm | description = Checks to see if the player specified has the permission specified. | param1 = playerID | param1type = int | param1desc ... |
(No difference)
|
Revision as of 06:11, 15 December 2008
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