Need Help Making Players Download Files From Server

Ok so I have an issue, the sweps in-game are coming up as errors for many people and the only way to fix that error is by going to and downloading the addon then adding it into their addons folder. How do I make it so that it downloads when they join?

I think

You have to make people download materials, models, and sounds using a serverside command called:


For all the materials, models, and sounds you want them to have.

Thanks for the help guys, I had it figured out a while ago using AddDir("") and placing the resource.lua in gmod>lua>autorun>server>