SA-MP Forums Archive
SetTimer help... - 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: SetTimer help... (/showthread.php?tid=74870)



SetTimer help... - Fragoso - 26.04.2009

I Think SetTimer can do something for me, like:

if(strcmp("/countderby", cmdtext,true,10) ==0)
{
SetTimer("Comeзaste count do derby",5000,false);

and if Time reaches 5000, MoveObject(gate,x,y,z,5.0); //Open Gates

and if MoveObject is done, SetTimer("",5000,false);

and if SetTimer reaches 5000, MoveObject(gate,x,y,z,5.0); //Close Gates

understand?
I Realy need a code, that do this if it's possible, please.


Re: SetTimer help... - Fragoso - 30.04.2009

is this code exist?

sorry for the double post but i really need it!


Re: SetTimer help... - MenaceX^ - 30.04.2009

I don't think it's possible to make a name like this.
"Comeзaste count do derby"
Try another name.