Author Topic: delay(1000);??????  (Read 557 times)

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(''," ");

Code: [Select]
centerprint(%client,%msgone);
schedule(1000,0,centerprint,%client,%msgtwo);
Use schudule.

Code: [Select]
centerprint(%client,%msgone);
schedule(1000,0,centerprint,%client,%msgtwo);
Use schudule.

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

or you could just do

centerprint(%client,%message,time);

 :cookieMonster:

There's also commandToClient(%client,'centerprint','message',time);
« Last Edit: June 30, 2010, 11:17:04 PM by otto-san »

or you could just do

centerprint(%client,%message,time);

 :cookieMonster:

There's also commandToClient(%client,'centerprint','message',time);
Time is the amount of time it stays, not a delay in the form he wants at all.