nanos world API Reference Unofficial documentation
Static function Shared Moderate

Timer.SetRemainingTime

Sets the time remaining to the next tick

Syntax

Lua
Timer.SetRemainingTime(timer_id, time)

Parameters

Name Type Default Description
timer_id integer — The Timer ID
time integer — The time remaining in milliseconds