Quote:
Originally Posted by mrnothersan
Hi
Thanks for your reply.
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.
Thanks
mrnothersan
|
You will still need an event to run it...
For the class, put that code in a function like
PHP Code:
public function drawGUI() {
//that code goes here
}
then, have a weapon every player has. You can use it's clientside onCreated to draw the gui,
PHP Code:
function onCreated()
this.join("yourclassgoeshere");
//#CLIENTSIDE
function onCreated() {
drawGUI(); //calls function in class
}
You need events to execute your scripts
