View Single Post
  #37  
Old 01-26-2012, 06:14 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Put it in a GUIControl. I.e:

PHP Code:
new GuiControl("Arm_Inventory") { // Assuming it's your inventory...
  
0;
  
0;
  
width 200// You'll probably have to adjust this to fit your GUI...
  
height 200;
  
// pay attention to the use of thiso
  
for (temp.thiso.selected_num2temp.thiso.selected_num2 91temp.++) { 
    
//new GuiShowImgCtrl(); stuff
  
}

Then you can do: Arm_Inventory.clearcontrols();

To destroy all the controls or just hide().

I'm not sure what your original script's purpose is but I feel like it's getting really complicated when it doesn't need to be.
__________________
Quote:
Reply With Quote