View Single Post
  #1  
Old 12-21-2012, 03:26 AM
brokk brokk is offline
Registered User
Join Date: May 2012
Posts: 84
brokk is on a distinguished road
Alternative to sleep()

I was wondering if there was an alternative to the sleep() function.

If I'm not mistaken, sleep pretty much just pauses the functions of the script.

DoThis;
DoThat;
sleep(1); <-- pauses for one second
DoSomethingElse;

I know it's a dumb question but I'm running into problems in my movement using sleep so I need another code that pauses a line in script.
Reply With Quote