Garry's Mod Wiki

Garry's Mod Wiki

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

Description

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

Arguments

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

http://cloud-4.steamusercontent.com/ugc/702859018846106764/9E7E1946296240314751192DA0AD15B6567FF92D/

So, the value of this argument would be 702859018846106764.

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...