Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-17-2016, 06:32 PM
itsCyber itsCyber is offline
A sexy Scotsman
itsCyber's Avatar
Join Date: Sep 2016
Location: Somewhere in Sunny Scotland
Posts: 11
itsCyber is on a distinguished road
Need help with something simple.

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() {

}
}

__________________
Graalians are friends. Not Food
~FindingStefan
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.