Skip to content

KillTimer

Stops a timer.

KillTimer(id)
Parameter Type
id number the id SetTimer returned

boolean - true when there was such a timer

local heartbeat = SetTimer(function() Log("alive") end, 60000, true)
-- ...
KillTimer(heartbeat)

SetTimer · the Server and timers group of the index