pub fn create_timer(callback: fn(), msec: i16) -> i16
Expand description
Create a timer that will run a script function after a certain interval.
callback
The Lua script function.
msec
The interval in miliseconds.
Returns the ID of the timer thus created.