Simple .NET script that will remove ANY non-melee weapon from ALL peds. This means all fireguns, pistols, SMG, AR, throwable, explosive weapons, and so on, will be removed. Only melee weapons like fists, knives, bats, crowbars… will be given to the peds.
INSTALLATION: copy MeleeWeaponsForAllPeds.cs to Grand Theft Auto V/scripts folder.
IF YOU EXPERIENCE PEDS FLEEING problems (specially during missions), the Peds Without Fear script can help avoiding it.