SetBanReason

From Multi Theft Auto: Wiki
Revision as of 14:59, 23 July 2014 by Soner Sayakci (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Before submitting check out Editing Guidelines Script Examples.
ADDED/UPDATED IN VERSION 1.4 :

This function set a new reason in the ban.


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