I see a few typos:
Quote:
function onActionLeftMouse(){
new GuiWindowCtrl("shopwin") {
profile = GuiBlueWindowProfile;
x = 10;
y = 10;
destroyonhide=true;
width = 160;
height = 80;
text = "" No Semicolon
new GuiMLTextCtrl("shopitem") {
profile = GuiBlueMLTextProfile;
x = 10;
y = 20;
width = 160;
height = 1; This would make the text 1 pixel in length I believe.
text = @this.itemname; No need for @
}
|
Fix those and tell us the result.