Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-12-2010, 01:34 AM
Jimbo33 Jimbo33 is offline
Jimbo33's Avatar
Join Date: Jan 2008
Location: Canada
Posts: 74
Jimbo33 is on a distinguished road
Send a message via AIM to Jimbo33 Send a message via MSN to Jimbo33
Another GUI question

I'm using a GUI that's opening when 'w' is pressed,
I want it to close when 'w' is pressed again, so players don't
have to move their mouse up to the little red x button.

Here's what I used:

PHP Code:
function onKeyPressed(codekey){
 if (
key == "w") {

onOpenStats() {
GuiWindowCtrl("Stats_Window1") {
blabla all the gui scripts... 
Please help, thanks!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:16 AM.

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