It works fine for me, Even with the variable calling o.O
Hikaru/Test
PHP Code:
//#CLIENTSIDE
function onCreated() {
this.wnpc = "Hikaru/Test2";
triggerserver("weapon", this.wnpc, "actiontest", "foo");
}
Hikaru/Test2
PHP Code:
function onActionServerSide(cmd, option) {
switch(cmd) {
case "actiontest":
echo(option);
break;
}
}