26.04.2009, 20:04
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.
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.