mriddler
2012-02-02 13:55:30
I have having a problem with funtion, not sure what the problem is.
I keep getting a type mismatch on the FindObjTPA line
Function Ladder:Boolean;
var
x, y:Integer;
begin
if FindObjTPA(x, y, 3886429, 10, 10, 12, 12, 400, ('Climb')) then
begin
MoveMouse(x, y);
Wait(1000);
ClickMouse(x, y, 1);
end;
end;I keep getting a type mismatch on the FindObjTPA line