- Documentation
- Shared functions
- setTimerDelay
Function
setTimerDelay
Sets the time until the timer's next call without changing its interval.
Syntax
bool setTimerDelay(timer timer, int delay)Arguments
timertimer- The timer.
delayint- Time in ms.
Returns
true on success.
Example
local t = setTimer(function() outputChatBox("Tick") end, 60000, 0)
setTimerDelay(t, 1000) -- pierwszy raz po sekundzie / first call after a second