Garry's Mod Wiki


  steamworks.Publish( table tags, string filename, string image, string name, string desc )


This is used internally - although you're able to use it you probably shouldn't.

Publishes dupes, saves or demos to workshop.


1 table tags
The workshop tags to apply
2 string filename
Path to the file to upload
3 string image
Path to the image to use as icon
4 string name
Name of the Workshop submission
5 string desc
Description of the Workshop submission