Garry's Mod Wiki

steamworks.IsSubscribed

  boolean steamworks.IsSubscribed( string workshopItemID )

Description

Returns whenever the client is subscribed to the specified Steam Workshop item.

Arguments

1 string workshopItemID
The ID of the Steam Workshop item.

Returns

1 boolean
Is the client subscribed to the addon or not.

Example

Checks if client is subscribed to Gm_construct_Beta Steam Workshop addon.

Output: If client is subscribed true is printed into console, false otherwise.