Credits to k9underdogg for the original script.
Go near a ped and press G to sell them a weapon(they decide which). You'll earn about 3500$.
Watch out though, if a cop sees it you get a 1 star wanted level.
new version: press Z, done by request from Skoboi
[Known bugs]
Doesn't work with some peds.
Selling weapons to lots of peds reduces the number of peds.
nice mod yo. but is there anyway that you would be able to set prices for each weapon & able to sell the weapon you have selected to a ped? Maybe change the keypress from "G" to "Z" or something?