GetBanReason

From Multi Theft Auto: Wiki
Revision as of 19:32, 22 January 2009 by Awwu (talk | contribs) (New page: __NOTOC__ {{Server function}} This function will return the ban reason of the specified ban element. ==Syntax== <syntaxhighlight lang="lua"> string getBanReason ( ban theBan ) </syntaxhighlight> ===Required...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function will return the ban reason of the specified ban element.

Syntax

string getBanReason ( ban theBan )

Required Arguments

  • theBan: The ban element which reason you want to return.

Returns

Returns a string of the reason if everything was successfull, false if invalid arguments are specified if there was no reason specified for the ban element.

Example

--TODO

See Also