steamworks.IsSubscribed

From Garry's Mod
Jump to: navigation, search
 steamworks.IsSubscribed( )

Contents

Description

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

Arguments

string workshopItemID

The ID of the Steam Workshop item.

Returns

boolean

Is the client subscribed to the addon or not.

Examples

Example

Checks if client is subscribed to Gm_construct_Beta Steam Workshop addon.

print( steamworks.IsSubscribed( 21197 ) )

Output:

If client is subscribed true is printed into console, false otherwise.
Personal tools
Navigation