Raised This Month: $ Target: $400
 0% 

Adding pause time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bwgrubbs1
Senior Member
Join Date: Sep 2006
Old 04-27-2007 , 05:14   Adding pause time
Reply With Quote #1

What would be a little code to add a defined amount of time to wait between commands ?
bwgrubbs1 is offline
mogel
Senior Member
Join Date: Jan 2007
Old 04-27-2007 , 05:59   Re: Adding pause time
Reply With Quote #2

Moin,

Code:
public Func1() {
  foo()
  set_task(0.1, "Func2")
}
public Func2() {
  bar()
}
all other will create "lag's" on the server

hand, mogel
__________________
mogel is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode