timerCreate doesnt create Timer

Create issue
Issue #27 resolved
athert created an issue

i try created own "onUpdate" function with "timerCreate" but this function doesnt work. I try every possible parameter type and value but it just do nothing (or server crash on start. I create this timer on serverInit)

Script=> timerCreate("onUpdate",1.0,1);

i try last two parameters like float, int (1 and 1000) etc.. it doesnt work at all

Comments (2)

  1. Roman Dobiáš repo owner

    There was an attempt to change the function to take an extra argument(for passing an argument to timer). However, it hasn't been finished, so system thinks 3 arguments should be passed to function, in spite of the fact that it actually takes 4. Thanks for your report. This function will work again since next update :)

  2. Log in to comment