SA-MP Forums Archive
How to make a continuously updating function. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make a continuously updating function. (/showthread.php?tid=132689)



How to make a continuously updating function. - [Ace]Stealth - 09.03.2010

I made a function, but the only way I knew how to run the function was by using a command and this works. I was wondering if there was a way I could make it update continuously or at least every couple seconds, and none of the Callbacks seem to be able to do that.

Thanks XD


Re: How to make a continuously updating function. - Carlton - 09.03.2010

Try using SetTimer on the function you've created.


Re: How to make a continuously updating function. - [Ace]Stealth - 12.03.2010

Worked Perfectly Thanks!!!!