I trying to find This:
via this code:
I cant seem to get it to work.Simba Code:Function InGame: Boolean;
var
x, y: integer;
begin
if FindTextTPAEx(2070783, 20, MSX1, MSY2, MSX2, MSY2, x, y, 'ew', 'e', Nothing) then
begin
WriteLn('We Arent in Game')
WriteLn('X = ' + IntToStr(x) + '' + 'Y = ' + IntToStr(y) + '');
end else
WriteLn('We Are in a game');
WriteLn('X = ' + IntToStr(x) + ' ' + 'Y = ' + IntToStr(y) + '');
end;







Reply With Quote



also it should be more accurate as the find text and ocr isn't 100% (its like 99%)
