SetBanNick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{Needs Example}} {{New feature/item|3.0150|1.5.0|7089|This function sets a new nick for a ban.}} ==Syntax== <syntaxhighlight lang="lua">bool setBanNick...")
 
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Server function}}
{{Needs Example}}
{{Needs Example}}



Revision as of 11:31, 26 February 2015

Accessories-text-editor.png Script Example Missing Function SetBanNick needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


This function sets a new nick for a ban.

Syntax

bool setBanNick ( ban theBan, string theNick )

Required Arguments

  • theBan: The ban you want to change the nick of.
  • theNick: A string representing the nick you want to set the ban to.

Returns

Returns true if changed, false otherwise.

Example

--todo

See Also