und springt nicht auf die nächste um!!!
hier ma der code
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 153, 74, 192, 124)
$CT = GUICtrlCreateRadio("Counteter-Terrorists", 16, 16, 113, 17)
$T = GUICtrlCreateRadio("Terrorists", 16, 40, 65, 17)
$Help = GUICtrlCreateButton("?", 120, 40, 25, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
;Triggerbot ct
Func _CT()
While 1
$Variable = PixelSearch (639,519,649,529,0x0000FE, 100)
If IsArray($Variable) = True Then
MouseClick ("left")
Sleep (500)
EndIf
WEnd
EndFunc
;Triggerbot t
Func _T()
While 1
$Pixelsearch = PixelSearch ( 639,519,649,529, 0xFE0000, 100)
If IsArray($Pixelsearch) = True Then
MouseClick ("left")
Sleep (500)
EndIf
WEnd
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $CT
_CT()
Case $T
_T()
EndSwitch
schonma danke für eure hoffentlich kommenden antworten
mfg Mo






