Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘: Set("{F3}", "TogglePause") HotKeySet("{F4}", "Terminate") Shoot() -- change (0x06) to the key you want to use https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx Func Shoot() While 1 If _WinAPI_GetAsyncKeyState(0x06) = True Then Local $coord = PixelSearch(995, 603, 1052, 549,12191508,20) If Not @error Then MouseClick("Left") Sleep(10) EndIf EndIf WEnd EndFunc While 1 $counter +=1 WEnd Func TogglePause() $Paused […]
↧