From Cheat Engine

Revision as of 00:13, 25 January 2018 by TheyCallMeTim13 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

function sleep(Delay)

Pauses the thread this lua script executes in for the given amount of milliseconds. (1000 milliseconds=1 second)

Note: Executing this from the main thread(gui) will make the gui stop responding for the given time (Buttons can not be clicked)

[edit] Function Parameters

Parameter Type Description
Delay Integer The time to wait in milliseconds (1000=1 second)

Example: Sleep(1000) -- This will pause the execution of current thread for 1 second.

[edit] See also

Personal tools