Maybe you can hook into event player_hurt and check the dmg_health value and return it to victim? Something like this:
Code:
public void OnPluginStart()
{
HookEvent("player_hurt", Event_PlayerHurt);
}
public Action:Event_PlayerHurt(Handle:event, const String:name[], bool:dontBroadcast)
{
new att = GetClientOfUserId(GetEventInt(event, "attacker"));
new vic = GetClientOfUserId(GetEventInt(event, "userid"));
if (!IsClientInGame(att) || !IsClientObserver(att))
{
//return HP to client
}
}
Here is more about that event:
https://wiki.alliedmods.net/Counter-...ts#player_hurt
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.