i am having the same problem can someone explain to us on this part to able us to set the mapflag no vending spots correctly?
setcell .map$, 0, 0, 300, 300, cell_novending, 1;
// x and y horizone ..
setarray .x_line, 52, 49, 46, 43, 40;
setarray .y_line, 68, 71, 74, 77, 65, 62;
set .x_line_size, getarraysize(.x_line);
set .y_line_size, getarraysize(.y_line);
set .count, 1;
for (set .@x, 0; .@x < .x_line_size; set .@x, .@x + 1)
for (set .@y, 0; .@y < .y_line_size; set .@y, .@y + 1)
if (checkcell(.map$, .x_line[.@x], .y_line[.@y], cell_chkpass)) {
movenpc "#vend_slot"+.count, .x_line[.@x], .y_line[.@y];
setcell .map$, .x_line[.@x], .y_line[.@y], .x_line[.@x], .y_line[.@y], cell_novending, 0;
set .count, .count + 1;