Infection
#2

You might have to loop through all the players to see which is closest to the player using the function, then take health from that player. Thats the first thing that comes to mind for me. You'd have to do other checks to make it bug free like make sure the target is in front of the player and make sure they are close enough ect, ect.
Reply


Messages In This Thread
Infection - by Kitten - 27.10.2010, 06:37
Re: Infection - by iggy1 - 27.10.2010, 06:41
Re: Infection - by Kitten - 27.10.2010, 06:44
Re: Infection - by Celson - 27.10.2010, 06:51
Re: Infection - by iggy1 - 27.10.2010, 06:53
Re: Infection - by Kitten - 27.10.2010, 06:55
Re: Infection - by Retardedwolf - 27.10.2010, 07:05
Re: Infection - by Kitten - 27.10.2010, 07:12

Forum Jump:


Users browsing this thread: 1 Guest(s)