You mean instead of something like this:
NPC Code:
if (actionserverside)
{ for (i=0;i<allplayerscount;i++)
{ if (strequals(#a,#p(0)))
{ id = playerid;
this.bombs = players[id].bombs;
readbombs();
}
}
}
//#CLIENTSIDE
if (weaponfired)
{ triggeraction 0,0,serverside,NPC,#c or what not;}
function readbombs()
{ what you want to do with it;}
That DOES seem like an awful lot of work... perhaps make a simple trigger like that built into an NPC, like triggeraction 0,0,serverside,-triggers,bombs,#c; or something. I was considering making a hidden NPC named -triggers so that I could use common triggers whenever.
---Shifter