Blockland Forums > Modification Help

delay(1000);??????

Pages: (1/1)

tyler0:

What is a wait to make my script pause for maybe a second and then continue the script:

if(...)
       centerprint(%client, %msg);
       //need a pause here
       centerprint(''," ");

DrenDran:


--- Code: ---centerprint(%client,%msgone);
schedule(1000,0,centerprint,%client,%msgtwo);

--- End code ---
Use schudule.

tyler0:


--- Quote from: DrenDran on June 30, 2010, 07:42:08 PM ---
--- Code: ---centerprint(%client,%msgone);
schedule(1000,0,centerprint,%client,%msgtwo);

--- End code ---
Use schudule.

--- End quote ---

lol was looking around and kept see that but i dont really know how now i have a starting point THANK YOU!

otto-san:

or you could just do

centerprint(%client,%message,time);

 :cookieMonster:

There's also commandToClient(%client,'centerprint','message',time);

HellsHero:


--- Quote from: otto-san on June 30, 2010, 11:11:57 PM ---or you could just do

centerprint(%client,%message,time);

 :cookieMonster:

There's also commandToClient(%client,'centerprint','message',time);

--- End quote ---
Time is the amount of time it stays, not a delay in the form he wants at all.

Pages: (1/1)

Go to full version