Quote:
|
Originally Posted by Seichi
I tried that too, it doesn't seem to work.
|
Class: test
PHP Code:
//#CLIENTSIDE
function sayHi() {
player.chat = "Hi";
}
Weapon:
PHP Code:
join("test");
//#CLIENTSIDE
function onWeaponFired() {
sayHi();
}
This should work. If you want an example using a player joined class, feel free to ask.