Garry's Mod Wiki

Garry's Mod Wiki

  steamworks.Subscribe( string workshopItemID )

Description

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

Subscribes to the specified workshop addon. Call steamworks.ApplyAddons afterwards to update.

Arguments

1 string workshopItemID
The ID of the Steam Workshop item we should subscribe to

Example

Subscribes to the Gm_construct_Beta Steam Workshop addon and reloads addons afterwards

Output: Subscribes to gm_construct_beta addon, if not already.

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...