Function
2010-02-07 20:22:21
- I'm in the making of a chicken killer and its coming along like magic… But I'm at a dillema, my chicken finder is almost flawless except it clicks on a lot of chickens that are already under attack… And I need some ideas of how to check if theres a hp bar over the head of the chicken.
I was trying
But I'm getting a type mismatch and I don't know why.
+ EDIT: I'm an idiot I had FindColorsTolerance instead of FindColorTolerance I think I got it now
I was trying
if(not(FindColorTolerance(x, y, 50027, (TPAs[i][ii].x - 10), (TPAs[i][ii].y - 10), (TPAs[i][ii].x + 10), (TPAs[i][ii].y + 10), 10)))then
But I'm getting a type mismatch and I don't know why.
+ EDIT: I'm an idiot I had FindColorsTolerance instead of FindColorTolerance I think I got it now