View Single Post
  #2  
Old 11-02-2003, 11:56 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
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
Reply With Quote