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 groupAllowPerm: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Added bz_groupAllowPerm  | 
				 Doesn't return a bz_APIStringList, but rather a bool. (typo)  | 
				||
| Line 8: | Line 8: | ||
| param2type  = const char*  | | param2type  = const char*  | ||
| param2desc  = Permission to grant.  | | param2desc  = Permission to grant.  | ||
| returntype  =   | | returntype  = bool  | ||
| returns     = Whether the group provided exists.  | | returns     = Whether the group provided exists.  | ||
| version     = 2.0.x or later  | | version     = 2.0.x or later  | ||
}}  | }}  | ||
Latest revision as of 00:56, 12 February 2009
bool bz_groupAllowPerm (const char* group, const char* perm)
Minimum API Version: 2.0.x or later 
Grants the group a certain permission.
Parameters: 
group  -  Group to look up. 
perm  -  Permission to grant. 
Returns: 
Whether the group provided exists.