Scripting/Server/Classes/Timer
| Property | Type | Access | Description |
|---|---|---|---|
Interval | integer | rw | Milliseconds between calls. |
Elapsed | integer | r | Milliseconds since it last fired. |
Active | boolean | r | False once it expired or was deleted. |
Paused | boolean | r | True after Stop(). |
Methods and functions
- timer.Stop / timer.Start – Pause and resume.
- timer.Reset – Restart the interval countdown.
- timer.Delete – Cancel and free the timer slot.
Categories: Server classes