PHP Code:
public hook_TakeDamage(victim, attacker, useless, Float:damage, damagebits) {
if(g_iTimeLeft > 0)
{
if((specialday[20] != DAY_HNS) || bits & (1<<24))
{
return HAM_SUPERCEDE
}
else if(cs_get_user_team(victim) == CS_TEAM_CT)
{
return HAM_SUPERCEDE
}
}
return HAM_IGNORED
}
What would be if specialday[20] == DAY_HNS and grenade will be dropped? So the damage wount be deal or it would, but just for terrorist team?