Execute a function on a repeating timer (SOLVED)

Little problem sir i can’t use it combining with repeated timer. It show nil.

hi britzl, can you post the cancel_id() function? I have the gist lua file but it is not there. :frowning:

Sure, I’ve updated the gist: https://gist.github.com/britzl/0f6291990b0b11f92775

2 Likes

thanks a lot!

Btw, remember that there’s a native extension timer now as well.