[][src]Function tes3mp_plugin::plugin::generated::create_timer

pub fn create_timer(callback: fn(), msec: i16) -> i16

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.