View Single Post
  #5  
Old 01-07-2002, 02:32 AM
Kumada Kumada is offline
Ded
Kumada's Avatar
Join Date: Nov 2001
Location: Usa
Posts: 1,088
Kumada is on a distinguished road
Joey...
You can see if a player kills another player by using client.strings or this.strings Like this.
NPC Code:

if (playerenters){
toweapons -Kill;
timeout=.05;
this.ap = playerap;
}

if (timeout&&isweapon){
testap();
timeout=.05;
}

function testap();
{
if (playerap=<this.ap){
this.ap = playerap;
setplayerprop #c, U ARE HEV SINNED GY;
}
}



Something like this.. I know the
NPC Code:
 if (playerap=<this.ap) 

Probably will not work.. but ohwhell im just supposed to be showing you how its done.. damn im tired
__________________
Aim: Mmm Kumada

Reply With Quote