Setting NPC Weapon Accuracy

How can I set the NPC accuracy? I’ve tried SetCurrentWeaponProficiency, doesn’t seem to make much of a difference.

Are you using a custom swep?

Yes. Do I set it in the lua somehow?

I am not sure about NPCs because I never played with them, but shouldn’t the custom sweps code be executed just like on players? Ergo if weapon is super-inaccurate, it should also be inaccurate for npcs?
If so, then you can just change sweps accuracy.

That could be it if they had set a certain grouping. I didn’t think of that, thanks.