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.

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 17
Render Body 0
Render Sidebar 12