Hi guys...I work with AutioIt and not with C++.. sry ^^
1.
Code:
HotKeySet("{F1}","Start")
HotKeySet("{F2}","Pause")
Global $funcs = false
Func Start()
$funcs = True
EndFunc
Func Pause()
$funcs = False
while $funcs = False
WEnd
EndFunc
Func Ende()
Exit
EndFunc
while 1
if $funcs = True then
$pixrand = PixelSearch(0,0,@DesktopWidth,@DesktopHeight,0x5178C0,,3,crossfire)
if IsArray($pixrand) = True Then
MouseMove($pixrand[0],$pixrand[1],1)
MouseClick("left")
EndIf
EndIf
WEnd
1. (the colore is false ^^) And i become ever a error.. can anybody help me perhaps?