UnbanIP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Server function}}
This function will unban the specified IP.
This function will unban the specified IP.



Revision as of 14:09, 26 November 2007

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