Has anyone tried "CountBitmap" ?. It seems like it has a bug or something o_o... OR.. maybe im doing something wrong again X 'D...
x := CountBitmap(fruit[i],0,0,200,200);
--> Line 124: [Error] (124:39): Type mismatch in script
x is integer.
Code:function CountBitmap(Bitmap: Integer; xs, ys, xe, ye: Integer): Integer; Counts the number of instances of the entered Bitmap found in the search area.




Reply With Quote

...



?

..