[S]paz
2008-02-21 14:13:44
ok im having great difficulty in finding the exact number of coins on ones inventory.
i know DTM's wont work but i tried
but i always get a 0 ammount
any ideas?
~Spaz
i know DTM's wont work but i tried
MMouse(x, y, 1, 1);
Try
B := StrToInt(GetTextAtEx(x-16, y-17, 5, StatChars, False, False, 0, 2, 841718, 8, False, tr_AlphaNumericChars));
Except writeln('Could not get Coin amount');
end;
Result := B;
but i always get a 0 ammount
any ideas?
~Spaz