SetBanAdmin: Difference between revisions

From Multi Theft Auto: Wiki
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.
*'''theBan:''' the new Admin name
*'''theAdmin:''' the new admin name


===Returns===
===Returns===

Revision as of 14:58, 23 July 2014

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.
  • theAdmin: the new admin name

Returns

Returns true when is changed, false otherwise.

Example

--TODO

See Also