I have a kinda h4xy way to do it, but this is how I do damage: Change the health on the player, detect when the value of the players health + damage will be below 0, when it is, spawn a trigger_hurt, make it do like 40 damage, force the player to touch it, then kill it.
Now, that will work, but you will notice the deathmsg will show that they killed themelf, so block the original deathmsg and replace it with your own. Dont forget the log line as well. - voogru. ----- Original Message ----- From: "Admin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 3:43 PM Subject: [hlcoders] Looking for a good way to kill players > I am working on a server side mod to add some new weapons to CS. I am > having some difficulties finding a good way to kill a player. > > If I use pfnClientKill() the kill gets logged as a suicide in place of a > player on player kill. > > Alternatively I have tried sending Damage, Death, and Health messages; > setting the players health to zero. None of these seem to trigger the > logging of a kill and ending of a round. > > Anyone have any suggestions of what to try to get the server to log a > player on player kill? > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

