Difference between revisions of "ResetTimer"

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Needs_Checking|Is this really only server side?}}
{{Server function}}
{{Server function}}
__NOTOC__
__NOTOC__

Revision as of 15:45, 12 August 2010

Dialog-information.png This article needs checking.

Reason(s): Is this really only server side?

This function allows you to reset the elapsed time in existing timers to zero. The function does not reset the 'times to execute' count on timers which have a limited amout of repetitions.

Syntax

bool resetTimer ( timer theTimer )

Required Arguments

  • theTimer: The timer whose elapsed time you wish to reset.

Returns

Returns true if the timer was successfully reset, false otherwise.

Example

--TODO

See Also