View Single Post
  #4  
Old 03-26-2011, 09:11 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
Quote:
Originally Posted by mrnothersan View Post
It is not a weapon we want to add. We would like to add the GuiWindowCtrl GUI to our playerworld so when you log into the playerworld it opens automatically with some "Welcome" text in.
Then simply change onWeaponFired to onCreated, and make sure everyone gets that weapon when they login.

Putting code in a class doesn't do anything at all. To use a class, you need to join the class to a weapon or NPC. You can think of your classes as a library of useful snippets of code.

Basically, you need to start everything in a weapon or NPC, and you can pull stuff from classes inside the weapon or NPC.
Reply With Quote