#include <ImageSearch.au3>
$X = 0
$Y = 0
Func Start ()
$Search = _ImageSearch('Weapon.bmp', 0, $x, $y, 0)
if $Search = 1 Then
MouseMove($x, $y,10)
EndIf
EndFunc
Can't make this work >.<...
Got it to work :D !
#Close
$X = 0
$Y = 0
Func Start ()
$Search = _ImageSearch('Weapon.bmp', 0, $x, $y, 0)
if $Search = 1 Then
MouseMove($x, $y,10)
EndIf
EndFunc
Can't make this work >.<...
Got it to work :D !
#Close