PDA

View Full Version : Get colour mouse is over?



Bigfish58
10-23-2006, 07:36 AM
Im making an ess miner, and i have a mouse procedure that searches the screen till it finds IsUpTestMulti, but when it fnds the ess, the coord will obveiusly change, because hte character has moved to mine the ess, so i need a function of some sort to get the colour the mouse is over

THanks

~Bigfish

XxKanexX
10-23-2006, 07:39 AM
function MouseCol: Integer;
var x, y: Integer;
begin
GetMousePos(x, y);
Result:= GetColor(x, y);
end;

Bigfish58
10-23-2006, 08:58 AM
<3 Kane,

Thanks :D

Bigfish58
10-23-2006, 09:02 AM
Kane, do you have msn?