Hey nen Kumpel und ich wollten nen trigger machen für mw3 das ging auch schon ganz gut aber irgendwie funktioniert der nicht kann mir da jemand von den erfahrenden leuten helfen?
#include "misc.au3"
HotKeySet("{F9}","_start")
HotKeySet("{F10}","_pause")
HotKeySet("{F11}","_exit")
Global $i_CoordX = @DesktopWidth / 2 + 25
Global $i_CoordY = @DesktopHeight / 2 + 25
While 1
Sleep(100)
WEnd
Func _start()
While 1
Sleep(100)
If _IsPressed("02") Then
While 1
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "AFFE26" Then MouseClick ( "left" ) EndIf
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "0C26F7" Then MouseClick ( "left" ) EndIf
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "B10002" Then MouseClick ( "left" ) EndIf
WEnd
EndIf
WEnd
EndFunc
Func _pause()
While 1
Sleep(100)
WEnd
EndFunc
Func _end()
Exit
EndFunc
#include "misc.au3"
HotKeySet("{F9}","_start")
HotKeySet("{F10}","_pause")
HotKeySet("{F11}","_exit")
Global $i_CoordX = @DesktopWidth / 2 + 25
Global $i_CoordY = @DesktopHeight / 2 + 25
While 1
Sleep(100)
WEnd
Func _start()
While 1
Sleep(100)
If _IsPressed("02") Then
While 1
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "AFFE26" Then MouseClick ( "left" ) EndIf
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "0C26F7" Then MouseClick ( "left" ) EndIf
If hex(PixelGetColor($i_CoordX, $i_CoordY)) == "B10002" Then MouseClick ( "left" ) EndIf
WEnd
EndIf
WEnd
EndFunc
Func _pause()
While 1
Sleep(100)
WEnd
EndFunc
Func _end()
Exit
EndFunc