Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...