[screen_name says:]
there are problems with that script, but it is in the right direction
Quote:
Originally posted by Kumada
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
|