View Single Post
  #6  
Old 01-07-2002, 04:23 AM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
[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
__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
Reply With Quote