Code:
/**
* Description: Usually called whenever an entity takes any kind of damage.
* Inflictor is the entity that caused the damage (such as a gun).
* Attacker is the entity that tirggered the damage (such as the gun's owner).
* Forward params: function(this, idinflictor, idattacker, Float:damage, damagebits);
* Return type: Integer.
* Execute params: ExecuteHam(Ham_TakeDamage, this, idinflictor, idattacker, Float:damage, damagebits);
*/
Ham_TakeDamage,
"which" param from SetHamParamFloat, represents the argument you want to alterate.
Ham_TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
You want to change "damage" which is fourth parameter:
Code:
SetHamParamFloat(4, some_value)
__________________