As I have seen that the pistol and assault rifle uses muffler then use this code so it does not draw so much attention from zombies !!!
search for
Code:
if(wpn->m_Attachments[WPN_ATTM_MUZZLE] && (wpn->m_Attachments[WPN_ATTM_MUZZLE]->m_itemID == 400013 || wpn->m_Attachments[WPN_ATTM_MUZZLE]->m_itemID == 400156 || wpn->m_Attachments[WPN_ATTM_MUZZLE]->m_itemID == 400159))
{
range = 0.3f; // DouglasPRO :: Now this shit, muffler is fixed !!
}
add below
Code:
//DouglasPro:: Fix silencer for M4A1-S
if(wpn->getConfig()->m_itemID == ID_Weapon)
range = 5;
//DouglasPro:: Fix silencer for RoTB B92
if(wpn->getConfig()->m_itemID == ID_Weapon)
range = 5;