[question] add timer with callback
i've tried all those variations, cannot create a timer with callback function. any ideas? ;o
PHP:
import final function AddTimer ( ... ) : int;
public timer function LoopTimer( dt : float, id : int )
{
doSomething();
}
AddTimer('LoopTimer', 0.01f, true);
LoopTimer(0.01f, 0);
i've tried all those variations, cannot create a timer with callback function. any ideas? ;o
Last edited: