timer_create_stopped - kemonologic/fuwafuwa GitHub Wiki
timer_create_stopped(time, [unit], [autoDestroy])
Returns: (map) A reference to the new timer.
| Argument | Type | Name | Desc |
|---|---|---|---|
| 0 | real | time | How long to set the timer for. |
| 1 | enum* | unit | The unit to use for the timer (default: time.ms) |
| 2 | bool* | autoDestroy | Whether to automatically destroy the timer. (default: true) |
Sets a timer and returns a reference to it which will be used for all other functions, but automatically stops the timer. These timers can be resumed with timer_resume. Otherwise identical to timer_create, so please refer to that page for more information. Useful to declare timers ahead of time that you don't want to run immediately.