You want to make an bashmode?
Code:
if(getCvar("scr_bash") == "1" && sMeansOfDeath != "MOD_MELEE")
return;
Also if u just want to prevent damage on some weapons as example:
Code:
if(sWeapon == "mp44_mp")
return;
Also if you want to do like headshot does x2 or x3 damage, you can do the same
Code:
if(sHitLoc == "head" && sWeapon == "thompson_mp")
iDamage = iDamage * 3;
There are much ways how you can play with the damage thread, same way works if u want to prevent suicide with bazooka or grenades. Just test it out