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.

Page Links


Special Pages


Wikis

?

Render Time: 110ms

DB GetPage 19
Generate Html 3
SaveChanges (1) 75
Render Body 0
Render Sidebar 11