Go to the first Ammu-Nation in Ocean Beach (with the cheapest prices for weapons) and buy all the machine gun and shotgun ammunition desired.
S, go to the Ammu-Nation in Downtown and buy the weapons in the same category (the machine gun and shotgun).