![]() |
alternative to sleep()
Is there an alternative function instead of doing let's say this:
PHP Code:
I need an Action() Wait(0.2) Action() Wait(0.2) so on |
schedulevent
|
Quote:
like: PHP Code:
|
An alternative to what you're doing in your OP is to use a for() loop
PHP Code:
|
I suspect you are using a timeout loop. Sleep will stop a timeout loop if a fuction is triggered from an outside function of the loop. Might be able to save some lines if simply add an adding number and either a if-else block, for loop, or a switch statement.
PHP Code:
|
Quote:
PHP Code:
|
Either use a scheduleEvent or a timeout.
Quote:
|
All times are GMT +2. The time now is 11:03 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.