Timer detection - 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: Timer detection (
/showthread.php?tid=177663)
Timer detection -
GaGlets(R) - 18.09.2010
Is there any funcion that can detect if there is running any timer?
Like
IsRunningTimer("TimerName/Timers public");
Re: Timer detection -
Mike_Peterson - 18.09.2010
:P dno maybe if u set a timer put a variable like
then at timer
Код:
SetTimer(blabla
timer1running = 1;
Re: Timer detection -
Vince - 18.09.2010
Better do:
pawn Код:
new timer;
timer = SetTimer(..); // Timer ID's start at 1
if(timer)
{
// do ya stuff
}