Quote:
|
Originally Posted by ForgottenLegacy
Hmm, okay then. Are you doing this inside of a NPCw? Because, for what I know, NPCws cannot read onCreated() serverside.
|
Re-read the first post, please

. It's a class joined to the player, and the function is called very simply from a weapon:
PHP Code:
function onActionserverside() {
if (params[0] == "test") player.example_run();
}
//#CLIENTSIDE
if (weaponfired) {
triggeraction x,y,serverside,Silent/Example,test;
}