Open r4sas opened 2 years ago
Ham_TakeDamage doesn't make damage to player when it is triggered with entity (custom grenade) and the target is behind the wall (in range of damage).
while((victim = engfunc(EngFunc_FindEntityInSphere, victim, flOrigin, g_Radius)) != 0) { if(pev(victim, pev_takedamage) == DAMAGE_NO || !is_user_alive(victim) || victim == id) continue; ExecuteHamB(Ham_TakeDamage, victim, ent, id, g_CustomDamage, DMG_GRENADE); }
Usage of ReAPI with rg_multidmg_clear, rg_multidmg_add, rg_multidmg_apply makes damage as it supposed to do.
rg_multidmg_clear, rg_multidmg_add, rg_multidmg_apply
try changing mp_hegrenade_penetration
Tried already, nothing changes.
Help us help you
Environment
Description
Ham_TakeDamage doesn't make damage to player when it is triggered with entity (custom grenade) and the target is behind the wall (in range of damage).
Problematic Code (or Steps to Reproduce)
Usage of ReAPI with
rg_multidmg_clear, rg_multidmg_add, rg_multidmg_apply
makes damage as it supposed to do.Logs