SetBanReason: 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 reason in the ban. }} ==Syntax== <syntaxhighlight lang="lua"> bool setBanReason( ban t...") |
(No difference)
|
Revision as of 14:59, 23 July 2014
Script Example Missing Function SetBanReason needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
Syntax
bool setBanReason( ban theBan, string theReason )
Required Arguments
- theBan: The ban in which you wish to retrieve the username of.
- theReason: the new reason (max 60 characters)
Returns
Returns true when is changed, false otherwise.
Example
--TODO
See Also
- addBan
- banPlayer
- getBanAdmin
- getBanIP
- getBanNick
- getBanReason
- getBanSerial
- getBanTime
- getBanUsername
- getBans
- getUnbanTime
- isBan
- kickPlayer
- setBanAdmin
- setBanNick
- setBanReason
- setUnbanTime
- reloadBans
- removeBan