iInflictor == CSW_AK47||CSW_M4A1||CSW_AWP // inflictor is the attacker unless it was a hegrenade dmg in that case its the grenade entity index.
public fw_takedamage(iClient, iInflictor, iAttacker, Float:fDamage, m_Damagebits){ if(iAttacker> 0 && iAttacker != iClient && ((1<<get_user_weapon(iAttacker)) & ((1<<CSW_AK47)|(1<<CSW_M4A1)|(1<<CSW_AWP)) ) ) { SetHamParamFloat(4, fDamage*get_pcvar_float(CVAR_DAMAGE_MULTI)) } return HAM_IGNORED}