well i dont clearly understand you but lets see if this helps...
this is a script i used on a gun npc for a current server i work in. This npc controls the damage that the gun inflicts on the player.
//#CLIENTSIDE
if(actionprojectile){
if(!strequals(#a,#p(1))) {
if (!strequals(#g,#p(0)) || strequals(#g,)) {
hurt 1;
freezeplayer .5;
with(getplayer(#p(1))) {playerkills ++;}
}else setplayerprop #c,We are allied, #p(1).;}}
if thats what you were talking about then i hope that helps
