View Single Post
  #7  
Old 01-25-2012, 02:37 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Quote:
Originally Posted by sssssssssss View Post
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.this.selected_num2temp.this.selected_num2 91temp.++) {
    
//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).new_x_position 3;
      (
"shadow"@temp.v).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).new_x_position 4;
      (
"weapon"@temp.v).new_y_position 5;
      (
"weapon"@temp.v).layer 6;
      (
"weapon"@temp.v).mode 1
Did you actually add those to a GUIControl or anything?
Reply With Quote