KillTimer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool killTimer ( timerID )
bool killTimer ( int timerID )
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''timer:''' The timer you wish to halt.
*'''timerID:''' The timer you wish to halt.


===Returns===
===Returns===
Returns ''true'' if the timer was existing and killed, ''false'' if not.
Returns ''true'' if a timer was successfully killed, ''false'' if no timer with the ID provided existed.


==Example==  
==Example==  

Revision as of 18:38, 5 June 2006