i'm using
PHP Code:
#define DMG_GRENADE (1 << 24)
RegisterHam(Ham_TakeDamage, "player", "ham_damage")
public ham_damage(victim, ent, attacker, Float:damage, bits)
{
if(!is_user_connected(attacker) || victim == attacker)
return HAM_IGNORED
if(cs_get_user_team(attacker) == CS_TEAM_T && cs_get_user_team(victim) == CS_TEAM_T && bits & DMG_GRENADE)
{
SetHamParamFloat(4, damage / 2)
return HAM_OVERRIDE
}
}
But the problem is that when t's throw grenade on t's it sets half the damage(thats what i want) but if t's throw grenade of cts then too its half damage

i want that if attacker is t and victim is t then only grenade damage half
thanks
__________________