Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Self Repeating Function
#1
Bug 
You can use the idea to create ie. your own second hook, ms100 hook, always hook etc. Whatever comes to your imagination.

Code:
function _selfrepeat()

print("repeating..")

timer(1000,"_selfrepeat") --repeats itself every second

end

_selfrepeat() --started the function because it's an unique function and won't start if we do not trigger it
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Array Size Callbacks & Function BcY 0 148 22-08-2019, 01:54 PM
Last Post: BcY

Forum Jump:


Users browsing this thread: 1 Guest(s)
Flag Counter