SA-MP Forums Archive
I need Help about Timers. - 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: I need Help about Timers. (/showthread.php?tid=223189)



I need Help about Timers. - MMiz - 09.02.2011

Hello, I was looking through the forums and really couldn't find this, I would like to "Call" a Function if a Timer is on, How can I do so? Thanks in Advance..


Re: I need Help about Timers. - Stigg - 09.02.2011

Set timer:

SetTimer("yourfunction",1000,true);

public yourfunction();
{
//do something
return 1;
}

Peace...


Respuesta: I need Help about Timers. - MMiz - 09.02.2011

I'm not dumb, I know that, I'm asking about How can I CALL it under a Different public Function, I already have that done, I just need to know how I can call it from a different function so it.


Re: I need Help about Timers. - [L3th4l] - 09.02.2011

CallLocalFunction = Looks through your script
CallRemoteFuncion = Looks through other loaded scripts

More info on wiki.


Respuesta: Re: I need Help about Timers. - MMiz - 09.02.2011

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
CallLocalFunction = Looks through your script
CallRemoteFuncion = Looks through other loaded scripts

More info on wiki.
Will Try it, Thank you.


Re: I need Help about Timers. - Stigg - 09.02.2011

No need to be funny m8.

All the info you need. ---> https://sampwiki.blast.hk/wiki/Main_Page

Peace...