timer_set_autodestroy - kemonologic/fuwafuwa GitHub Wiki

timer_set_autodestroy(timer)

Returns: (none)

Argument Type Name Desc
0 map timer The timer to check.
1 bool autoDestroy Whether to set the timer to autodestroy or not

Sets a timer to autodestroy (or not). Timers set to autodestroy are automatically cleaned up when the instance that created them is destroyed.