Quote:
Originally Posted by mrnothersan
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.