• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

AutoIT Sleep Alternative

Status
Not open for further replies.

Yahik0

Leech
User
Joined
Dec 13, 2014
Messages
10
Reputation
0
Reaction score
63
Points
13
Credits
0
‎10 Years of Service‎
100%
[HIDE-THANKS]

Code:
>
_SleepNtDelay(10000) ;=Sleep 10s
Func _SleepNtDelay($Sleep)
$TimeToMs = $Sleep * 1000
   DllCall("ntdll.dll", "dword", "NtDelayExecution", "int", 0, "int64*", -10 * $TimeToMs)
EndFunc
[/HIDE-THANKS]

 
Status
Not open for further replies.
Back
Top