SetBanAdmin: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (Created page with "__NOTOC__  {{Server function}} {{Needs_Example}} {{New items|4.0132|1.4| This function set a new Admin in the ban. }}   ==Syntax==  <syntaxhighlight lang="lua"> bool setBanAdmin ( ban th...") | |||
| Line 14: | Line 14: | ||
| ===Required Arguments===   | ===Required Arguments===   | ||
| *'''theBan:''' The [[ban]] in which you wish to retrieve the username of. | *'''theBan:''' The [[ban]] in which you wish to retrieve the username of. | ||
| *''' | *'''theAdmin:''' the new admin name | ||
| ===Returns=== | ===Returns=== | ||
Revision as of 14:58, 23 July 2014
|   | Script Example Missing Function SetBanAdmin needs a script example, help out by writing one. | 
| Before submitting check out Editing Guidelines Script Examples. | 
Syntax
bool setBanAdmin ( ban theBan, string theAdmin )
Required Arguments
- theBan: The ban in which you wish to retrieve the username of.
- theAdmin: the new admin name
Returns
Returns true when is changed, false otherwise.
Example
--TODO
See Also
- addBan
- banPlayer
- getBanAdmin
- getBanIP
- getBanNick
- getBanReason
- getBanSerial
- getBanTime
- getBans
- getUnbanTime
- isBan
- kickPlayer
- setBanAdmin
- setBanNick
- setBanReason
- setUnbanTime
- reloadBans
- removeBan