Garry's Mod Wiki

steamworks.Subscribe

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.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 20
Render Body 0
Render Sidebar 7