Maybe I'm better off asking why this doesn't work. :/ using showimg showed this up behind the gui. search_list isn't empty for sure.
PHP Code:
for(temp.v = this.selected_num2; temp.v < this.selected_num2 + 91; temp.v ++) {
//player.chat = search_list[temp.v];
if (search_list[temp.v] != null ) {
//showImg(200+temp.v, "armageddon-iconbox.gif", new_x_position + 3, new_y_position + 30);
//findImg(200+temp.v).layer = 5;
//findImg(200+temp.v).mode = 1;
("shadow"@temp.v) = new GuiShowImgCtrl();
("shadow"@temp.v).image = "armageddon_inventory-iconbox.gif";
("shadow"@temp.v).x = new_x_position + 3;
("shadow"@temp.v).y = new_y_position + 30;
("shadow"@temp.v).layer = 5;
("shadow"@temp.v).mode = 1;
//showImg(600+temp.v, search_list[temp.v].image, new_x_position + 4, new_y_position + 5);
//findImg(600+temp.v).layer = 6;
//findImg(600+temp.v).mode = 1;
("weapon"@temp.v) = new GuiShowImgCtrl();
("weapon"@temp.v).image = search_list[temp.v].image;
("weapon"@temp.v).x = new_x_position + 4;
("weapon"@temp.v).y = new_y_position + 5;
("weapon"@temp.v).layer = 6;
("weapon"@temp.v).mode = 1;