steamworks.ShouldMountAddon

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

Contents

Description

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

Arguments

string workshopItemID

The ID of the Steam Workshop

Returns

boolean

Will the workshop item be mounted or not

Examples

Example

Checks if the client has enabled Gm_construct_Beta Steam Workshop addon.

print( steamworks.ShouldMountAddon( 21197 ) )

Output:

If client has enabled the addon true is printed into console, false otherwise.
Personal tools
Navigation