UnbanIP

From Multi Theft Auto: Wiki
Revision as of 10:54, 16 January 2008 by ChrML (talk | contribs)
Jump to navigation Jump to search

This function will unban the specified IP.

Syntax

bool unbanIP ( string ipToUnban, [player unbanningPlayer = null] )         

Required Arguments

  • unbanningPlayer: The who is unbanning the ip
  • ipToUnban: The IP that should be unbanned

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments. (none)

Returns

Returns true if the unban was successful, false otherwise.

Example

See Also