Garry's Mod Wiki

steamworks.ShouldMountAddon

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.

Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 45
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 8