Spawn random weapons around map

Hello. I’d like to randomly spawn random weapons around the map (I’m making a survival type gamemode and the players have to find weapons themselves) but I am not sure how to go about doing that.
If someone could put me on the right track that would be much appreciated!

Are you serious, there was a thread just posted about the same thing, but with weapons

Sorry man, did not see this thread. Do you know the method for spawning a weapon that you are able to pick up, however?