viewing paste restrict vending | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
 
-   script  Vending Helper  -1,{
 
OnInit:
sleep 1000;
// Map for vending
set .map$,"prontera";
setcell .map$,0,0,284,365,cell_novending,1;
 
// x and y horizone ..
setarray .x_line,146,164;
 
set .x_line_size,getarraysize( .x_line );
for( set .@x,0; .@x < .x_line_size; set .@x,.@x + 1 )
    for( set .@y,0; .@y < .y_line_size; set .@y,.@y + 1 )
        setcell .map$,.x_line[.@x],.y_line[.@y],.x_line[.@x],173,cell_novending,0;
end;
}
 
Viewed 1220 times, submitted by Emistry.