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";
x = 319;
y = 165;
new GuiTextCtrl("PLShopSell_Text1") {
profile = GuiBlueTextProfile;
height = 20;
text = "Please enter price to sell ";
width = 143;
x = 14;
y = 3;
}
new GuiTextCtrl("PLShopSell_Text2") {
profile = GuiBlueTextProfile;
height = 20;
text = item;
width = 143;
x = 14;
y = 15;
}
new GuiTextEditCtrl("PLShopSell_TextEdit1") {
profile = GuiBlueTextEditProfile;
height = 20;
width = 91;
x = 18;
y = 37;
}
new GuiTextCtrl("PLShopSell_Text3") {
profile = GuiBlueTextProfile;
height = 20;
text = "Rupees";
width = 37;
x = 109;
y = 42;
}
new GuiButtonCtrl("PLShopSell_Button2") {
profile = GuiBlueButtonProfile;
text = "Sell";
width = 63;
x = 12;
y = 66;
}
new GuiButtonCtrl("PLShopSell_Button3") {
profile = GuiBlueButtonProfile;
text = "Cancel";
width = 64;
x = 85;
y = 66;
}
}
}
This worked just fine with our old inventory system using images with showimg. :/