Thread: Gui Scripting
View Single Post
  #1  
Old 08-08-2006, 09:40 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Gui Scripting

I've gotten so far scripting this GUI window by reading the wiki and examining other scripts and the functions they used. But o I'm sort of stuck any and all help would be appreciated as to how I would go about doing this right.

PHP Code:
//By Stan.

//CLIENTSIDE
function onCreated()
{
this.on false;

addGUIControls();
}

function 
turnon()
{
this.on true;
function 
onKeyPressed(code,key) {
if (
keycode==0x75) {//F9
if (this.on
turnoff();
else
turnon();
}

__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote