//#CLIENTSIDE function onMouseDown() { if (mousex in | this.x, this.x + width | && mousey in | this.y, this.y + height | ) { findweapon("-ShopWindow").displayItem(this.itemname, this.itemprice, this.itemdesc, this.realitem); } else { return; } }