UnbanIP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
==See Also==
==See Also==
{{Admin_functions}}
{{Admin_functions}}
[[Category:Needs_Example]]

Revision as of 10:54, 16 January 2008

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