CODE:
int col[6], amount[6], x[1], y[1], a = 0;
x[0] = 0; y[0] = 0;
col[0] = 1842103;
col[0] = 2172107;
col[0] = 1578908;
col[0] = 2171094;
col[0] = 1579088;
col[0] = 1977577
amount[0] = 3;
amount[0] = 2;
amount[0] = 2;
amount[0] = 1;
amount[0] = 1;
amount[0] = 1;
a = findheapcolor(
1,
#col[0], #amount[0],
6, 3,
#x[0], #y[0],
7, 7,
20, 20,
1219, 43,
1356, 118,
10, 10,
10, 10,
10, 10,
-1
);
messagebox(a);
//mousemove(x[0], y[0]);
x[0] = 0; y[0] = 0;
col[0] = 1842103;
col[0] = 2172107;
col[0] = 1578908;
col[0] = 2171094;
col[0] = 1579088;
col[0] = 1977577
amount[0] = 3;
amount[0] = 2;
amount[0] = 2;
amount[0] = 1;
amount[0] = 1;
amount[0] = 1;
a = findheapcolor(
1,
#col[0], #amount[0],
6, 3,
#x[0], #y[0],
7, 7,
20, 20,
1219, 43,
1356, 118,
10, 10,
10, 10,
10, 10,
-1
);
messagebox(a);
//mousemove(x[0], y[0]);