So I know this may sound silly but how would I make the player chat bar come up when pressing the "ChatButton"
NPC Code:
//#CLIENTSIDE
function onCreated() {
new GuiBitmapCtrl("ChatButton") {
profile = GuiDefaultProfile;
bitmap = "gui-button.png";
height = 57;
width = 63;
x = 27;
y = 171;
}
function ChatButton.onMouseDown() {
}
}