SetBanAdmin

From Multi Theft Auto: Wiki
Revision as of 14:54, 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 Admin in the ban. }} ==Syntax== <syntaxhighlight lang="lua"> bool setBanAdmin ( ban th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function SetBanAdmin 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 Admin in the ban.


Syntax

bool setBanAdmin ( ban theBan, string theAdmin )

Required Arguments

  • theBan: The ban in which you wish to retrieve the username of.
  • theBan: the new Admin name

Returns

Returns true when is changed, false otherwise.

Example

--TODO

See Also