Garry's Mod Wiki

steamworks.ShouldMountAddon

  boolean steamworks.ShouldMountAddon( string workshopItemID )

Description

Returns whenever the specified Steam Workshop addon will be mounted or not.

Arguments

1 string workshopItemID
The ID of the Steam Workshop

Returns

1 boolean
Will the workshop item be mounted or not

Example

Checks if the client has enabled Gm_construct_Beta Steam Workshop addon.

Output: If client has enabled the addon true is printed into console, false otherwise.