No it needs to be done serverside.
PHP Code:
if (actionserverside) { // receives the triggeraction
if (strequals(#p(0),params)) { // #p(x) are the params
// the above line was not needed but i just added it in for demo
for(i=0; i<playerscount; i++) { // loops through everyone in the room
with(players[i]) { // tells the npc which player to perform the actions on
playerhearts = 0;
}
}
}
}
//#CLIENTSIDE
if (weaponfired) {
triggeraction 0,0,serverside,WEAPONNAME,params;
}