From Garry's Mod
Revision as of 07:54, 3 July 2013 by Facepunch bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
resource.AddWorkshop( )


Adds a workshop addon for the client to download before entering the server.

You should try to only add addons that the server is currently using. For example - don't make the client download 20 maps - just make them download the current map.

Gamemodes that are workshop enabled are automatically added to this list - so there's no need to add them.


string workshopid

The workshop id of the file. This cannot be a collection right now.
Personal tools