Garry's Mod Wiki


  GM:WorkshopDownloadFile( number id, number imageID, string title, number size )


Called when an addon from the Steam workshop begins downloading. Used by default to place details on the workshop downloading panel.


1 number id
Workshop ID of addon.
2 number imageID
ID of addon's preview image.

For example, for Extended Spawnmenu addon, the image URL is

So, the value of this argument would be 702859018846106764.

3 string title
Name of addon.
4 number size
File size of addon in bytes.