Sets a 'timer' to call a function after some time. Can be set to repeat.
|funcname||Name of the function to call as a string. This must be a public function (forwarded). A null string here will crash the server.|
|interval||Interval in milliseconds.|
|repeating||Boolean (true/false) on whether the timer should repeat or not.|
The ID of the timer that was started. Timer IDs start at 1.
Timer intervals are not accurate (roughly 25% off). There are fixes available here and here. Timer IDs are never used twice. You can use KillTimer() on a timer ID and it won't matter if it's running or not. The function that should be called, must be public, meaning it has to be forwarded. The use of many timers will result in increased memory/cpu usage.