GetBanIP: 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 IP you want to return.
*'''theBan:''' The [[ban]] in which you want to return the IP of.


===Returns===
===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]].
Returns a ''string'' of the IP if everything was successful, ''false'' if invalid arguments are specified if there was no IP specified for the [[ban]].


==Example==
==Example==

Revision as of 17:47, 23 January 2009

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

Syntax

string getBanIP ( ban theBan )

Required Arguments

  • theBan: The ban in which you want to return the IP of.

Returns

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

Example

--TODO

See Also