Thread: sleep
View Single Post
  #4  
Old 12-04-2001, 02:56 AM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
I had a problem with this too.
Say for instance your script was this.
if (created){
timeout = 0.05;}
if (timeout){
timeout = 0.05;
if (playertouchsme){
sleep 2;}

If you got stuck on the playertouchsme, and it wouldn't work anymore, try setting the timeout in the command, like this:
if (playertouchsme){
sleep 2;
timeout = 0.05;}