SA-MP Forums Archive
Timer!Don't work... - 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!Don't work... (/showthread.php?tid=83340)



Timer!Don't work... - fff - 24.06.2009

I have a problem at some lifts and one gate.
So i use Timer on script but the lifts/gate doesn't return at normal.
Can help me?
Script


Re: Timer!Don't work... - GammerZ - 24.06.2009

Put in all timers "0" instead of "playerid"
For example...
pawn Код:
SetTimer("liftu", 100, 0);
instead of
pawn Код:
SetTimer("liftu", 100, playerid);
The "0" toogles repeating the timer


Re: Timer!Don't work... - fff - 24.06.2009

Man it doesn't repeat


Re: Timer!Don't work... - fff - 24.06.2009

Nobody can help me?
sry for 2x post


Re: Timer!Don't work... - AiVAMAN - 24.06.2009

SetTimer("liftu", 100, 0);

replace with

SetTimer("liftu", 100, 1);

this should wotk I think

Quote:
Originally Posted by GammerZ
The "0" toogles repeating the timer
LLLLOOOOLLLL "0" turns repeating off


Re: Timer!Don't work... - fff - 24.06.2009

i wil check and then i will edit