Garry's Mod Wiki

GM:WorkshopExtractProgress

  GM:WorkshopExtractProgress( number id, number ImageID, string title, number percent )

Description

Called while an addon from the Steam workshop is extracting. Used by default to update details on the fancy workshop download 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 percent
Current bytes of addon extracted.