Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fn_Sleep(delay, button)
- local start = GetRunningTime()
- while (GetRunningTime() - start) < delay do
- if not IsMouseButtonDown(button) then
- return false
- end
- Sleep(10)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement