GetBanIP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server function}} This function will return the IP of the specified ban element. ==Syntax== <syntaxhighlight lang="lua"> string getBanIP ( ban theBan ) </syntaxhighlight> ===Required Arguments==...)
 
mNo edit summary
Line 12: Line 12:


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


==Example==
==Example==

Revision as of 19:22, 22 January 2009

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

Syntax

string getBanIP ( ban theBan )

Required Arguments

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

Returns

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

Example

--TODO

See Also