UnbanIP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool unbanIP ( player unbanningPlayer , string ipToUnban )         
bool unbanIP ( string ipToUnban, [player unbanningPlayer = null] )         
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 11:34, 22 July 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