Garry's Mod

workshop + fastdl

Submitted by Bontah, , Thread ID: 68932

Thread Closed

RE: workshop + fastdl

#2
There's another way to go about this. This method forces all clients to download selected addons onto their computer, so they won't see errors anymore.

https://wiki.garrysmod.com/page/resource/AddWorkshop

Make a file called workshop.lua in your server'sgarrysmod\lua\autorun\server. I recommend using Notepad++ for this.

Then make a line with the code
Code:
resource.AddWorkshop("<workshopidhere>")
The workshopidhere refers to the workshop addon ID.[Image: 5OxAZR37SKurBvmpCGl3Kg.png]

After that is done and you want to add more, keep adding new lines according to the workshop ID of the addon.
Hope this helped!

Users browsing this thread: 6 Guest(s)