I don't know why it won't work, but I am not exactly sure whether it should work and whether it's a bug:
HTML Code:
function onActionfoo() {
player.chat = "works.., " @ params[0];
}
function onActionserverside() {
player.chat = "onActionServerside";
triggeraction(player.x+1.5, player.y+2, "foo", "test");
}
//#CLIENTSIDE
if (weaponfired)
triggeraction 0,0,serverside,#w;
in a weapon.
the serverside trigger arrives, the "foo" trigger doesn't. Neither on the serverside, nor on the clientside.
It also doesn't work when I replace "player" with some other player that also has the weapon.