Zzz.. Look at some of my scripts, you silly goose.
You're joining them to a weapon, so you don't want to be using public functions.
To the people above, you can join classes to NPCweapons in the clientside.
PHP Code:
//#CLIENTSIDE
function onCreated() {
join("test");
}
function onWeaponFired() {
sayHi();
}