RemoveCommandHandler: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__
 
This function removes a command handler, that is one that has been added using addCommandHandler.
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool removeCommandHandler ( string key )               
bool removeCommandHandler ( string commandName )               
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''key:''' description


===Optional Arguments===  
===Optional Arguments===  
Line 30: Line 28:


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Server_Functions}}
[[Category:Incomplete]]

Revision as of 14:07, 25 May 2006

This function removes a command handler, that is one that has been added using addCommandHandler.

Syntax

bool removeCommandHandler ( string commandName )              

Required Arguments

  • key: description

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.

  • argumentName2: descriptiona
  • argumentName3: description

Returns

Returns true if blah, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:Server Functions