hey i donno what im doing wrong =[
SCAR Code:
function CutYew : Boolean;
var
Color : TIntegerArray;
TPA : TPointArray;
Poi : TPoint;
x, y, i, H, count : Integer;
Switch : Boolean;
begin
Color := [4820866, 2648669, 3240805, 4359803, 1987656, 3109735, 5544845, 2907218, 2583903, 5412233, 3439984, 4950398, 3440241];
for i := 0 to 12 do
begin
//x := MSCX;
//y := MSCY;
if FindColorsTolerance(TPA, Color[i], MSX1, MSY1, MSX2, MSY2, 15) then
//if(FindColorsSpiralTolerance(x, y, TPA, Color[i], MSX1, MSY1, MSX2, MSY2, 15))then
begin
Poi := TPA[i];
x := Poi.x; // [Runtime Error] : Out Of Range in line 470 in script (this line)
y := Poi.y;
i didnt show it all cause this is the only part that isnt working.. but neither findcolorsspiraltolerance or findcolorstolerance seem to work for me.. am i doing this wrong? and id rather use spiral but i can never seem to get it working. are there any tutorials for that one? :]