Log in

View Full Version : Click Player Prob.



Illkillutill
01-14-2009, 12:01 AM
Ok, so I need to find a player on the minimap thats closest to me, and walk to him. Obviously the option would be to use FindColorSpiral so it starts from the middle of the screen and scans outward. My problem is it keeps finding my character and clicking it instead of the others. I have tried using a if color > 1 then click but it wont work. ahhhhh. Any ideas?

Cazax
01-14-2009, 12:08 AM
To check if it is another player use:
If Distance(TPA[I].X, TPA[I].Y, MMCX, MMCY) > 5 Then
Try that

Illkillutill
01-14-2009, 12:23 AM
Worked perfectly, thanx. Rep+