View Single Post
  #2  
Old 03-26-2011, 09:03 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
You need to actually make that code run. Putting code in a class doesn't do anything by itself.

Put this in a weapon:

PHP Code:
//#CLIENTSIDE
function onWeaponFired() {
  
player.chat "Whoa, 'tis workin'!";

And add that weapon to your player. When you fire the weapon your chat should change.

Now, just replace that line in the middle with your GUI-creating code, and it should create.
Reply With Quote