GetTimers
From Multi Theft Auto: Wiki
This function returns a table of all active timers that the resource that calls it has created. Alternatively, only the timers with a remaining time less than or equal to a certain value can be retrieved.
Syntax
Optional Arguments
- theTime: The maximum time left (in milliseconds) on the timers you wish to retrieve.
Returns
Returns a table of all the active timers.
Example
This example kills timers with a remaining time of less than 1 minute.
See Also
- getEasingValue
- interpolateBetween
- getPerformanceStats
- getNetworkStats
- getServerConfigSetting
- setServerConfigSetting
- getRealTime
- getTickCount
- getTimerDetails
- getTimers
- gettok
- killTimer
- resetTimer
- setTimer
- split
- isTimer
- md5
- sha256
- teaEncode
- teaDecode
- base64encode
- base64decode
FROM VERSION 1.4 r5106 ONWARDS