GetBanAdmin: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:


===Required Arguments===  
===Required Arguments===  
*'''theBan:''' The [[ban]] of which admin you want to return.
*'''theBan:''' The [[ban]] you want to return the admin of.


===Returns===
===Returns===
Returns a ''string'' of the admin if everything was successfull, ''false'' if invalid arguments are specified if there was no admin specified for the [[ban]].
Returns a ''string'' of the admin if everything was successful, ''false'' if invalid arguments are specified if there was no admin specified for the [[ban]].


==Example==
==Example==

Revision as of 17:46, 23 January 2009

This function will return the admin (nickname of the admin) of the specified ban pointer.

Syntax

string getBanAdmin ( ban theBan )

Required Arguments

  • theBan: The ban you want to return the admin of.

Returns

Returns a string of the admin if everything was successful, false if invalid arguments are specified if there was no admin specified for the ban.

Example

--TODO

See Also