- International Gaming Community
Self Repeating Function - Printable Version

+- - International Gaming Community (
+-- Forum: Game Universe (
+--- Forum: CS2D (
+---- Forum: File Archive (
+----- Forum: Lua Scripts (
+----- Thread: Self Repeating Function (/Thread-Self-Repeating-Function)

Self Repeating Function - BcY - 22-08-2019

You can use the idea to create ie. your own second hook, ms100 hook, always hook etc. Whatever comes to your imagination.

function _selfrepeat()


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


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