#2

You can use OnPlayerTakeDamage to detect when a player loses life or OnPlayerWeaponShot (better) and use the parameters hittype and hitid to get the ID of the player who was shot.

To kill the player, use SetPlayerHealth with the value 0.0.
Reply


Messages In This Thread
help - by Mariciuc223 - 19.08.2015, 12:07
Re : help - by Dutheil - 19.08.2015, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)