Im trying to figure out how I can get full damage by shooting through teammates.
What I tried:
sm_cvar ff_damage_reduction_bullets 1/0
sm_cvar sv_penetration_type 1/0
mp_solid_teammates 0
I cant get any combo of these cvars to give me the full damage. When doing headshot, full damage gives me 110 but if Im shooting through teammate, the damage is only 71 or lower.
Also tried:
Code:
public Action TraceAttack(int victim, int &attacker, int &inflictor, float &damage, int &damagetype, int &ammotype, int hitbox, int hitgroup)
{
if (IsValidClient(attacker) && IsValidClient(victim)) {
if (GetClientTeam(attacker) == GetClientTeam(victim))
{
return Plugin_Handled;
}
}
return Plugin_Continue;
}
So, does anyone have any idea on how to make this work? With cvars or code? I tried a few noblock/bullet filter/hide plugins but none of them are giving me full damage.