GetBanReason: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...)
(No difference)

Revision as of 19:32, 22 January 2009

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