Probably true. I only wonder why it took more than 4 months to figure out that the turrets were not doing any damage. Anyway, try this
if(isPlayer(eAttacker) && !isDefined(eAttacker.onturret) && sMeansOfDeath != "MOD_MELEE" && (maps\mp\gametypes\_weapons::isMainWeapon(sWeapon) || isWeaponType(sWeapon, "pistol")) && !eAttacker playerADS()) return;