The hurt player has a message indicating to him how much he stays in him and the player who gets (touches) an enemy is also informed by a message of the state of his enemy !
A variable also allows to know if a player hurt his team.
Variables :
Code:
rl_ShowDamage = CreateConVar("sm_remaining_life","1","Show Damage Done on players")
rl_ShowMessageTK = CreateConVar("sm_remaining_life_message","1","Show Message to the attacker when TK")
Installation :
- Put sm_remaining_life.smx in "dod/addons/sourcemod/plugins"
- Relaunch the server
name = "Remaining life",
author = "Misery",
description = "Le joueur touché a un message lui indiquant combien il lui reste et le joueur qui touche un ennemi est informé aussi par un message de l'état de son ennemi",
version = "1.0.4",
url = "
http://thelw.forum-actif.net"
REPORTED BUGS:
- No bug for a long time
WARNING:
this plugin was creates for a long time, it has no known bug and already works on numerous servers. Her author wishes to make it share to the community, but will make modifications above only if need be.
SERVERS RUNNING THIS PLUGIN:
http://www.game-monitor.com/search.p...&type=variable