View Single Post
  #8  
Old 01-30-2012, 04:28 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
PHP Code:
public function bringInSell(temp.item) {
  
PLShopSell_Window.destroy();
  
//player.chat = item;
  
new GuiWindowCtrl("PLShopSell_Window") {
    
profile GuiBlueWindowProfile;
    
clientrelative true;
    
clientextent "178,104";

    
canmove true;
    
canclose true;
    
destroyonhide canresize canmaximize closequery false;
    
text "Sell Item";
    
319;
    
165;

    new 
GuiTextCtrl("PLShopSell_Text1") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Please enter price to sell ";
      
width 143;
      
14;
      
3;
    }
    new 
GuiTextCtrl("PLShopSell_Text2") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text item;
      
width 143;
      
14;
      
15;
    }
    new 
GuiTextEditCtrl("PLShopSell_TextEdit1") {
      
profile GuiBlueTextEditProfile;
      
height 20;
      
width 91;
      
18;
      
37;
    }
    new 
GuiTextCtrl("PLShopSell_Text3") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Rupees";
      
width 37;
      
109;
      
42;
    }
    new 
GuiButtonCtrl("PLShopSell_Button2") {
      
profile GuiBlueButtonProfile;
      
text "Sell";
      
width 63;
      
12;
      
66;
    }
    new 
GuiButtonCtrl("PLShopSell_Button3") {
      
profile GuiBlueButtonProfile;
      
text "Cancel";
      
width 64;
      
85;
      
66;
    }
  }


This worked just fine with our old inventory system using images with showimg. :/
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote