G'day
Found this at OFP Internals:
The famous muzzle flash bug is easy to fix, though you must have OFP: Resistance to do it. Here's how it goes:
1. DePBO your favourite muzzle flash bug weapon addon
2. open the config.cpp with notepad
3. put these lines to it
class CfgModels
{
class Default{};
class Weapon: Default{};
class name-of-the-weapon-model: Weapon{};
};
name-of-the-weapon-model is the name of the p3d-file that came with the addon, so it must be exact! So if you have p3d which name is AKS74.p3d the new line in the config looks like this:
class CfgModels
{
class Default{};
class Weapon: Default{};
class AKS74: Weapon{};
};
4. After the config.cpp is modified StuffPBO the addon again
5. Place the new *.pbo into OperationFlashpoint\\Res\\AddOns -folder
Note that there can't be any symbols in the p3d-name, so if the p3d is like AK101+grenades.p3d the command won't work (at least for me).
hope this helps
L8R