HolyLib Wiki

SetShouldMount

  addonsystem.SetShouldMount( string workshopID, boolean shouldMount = false )

Description

Sets whether the given addon should be mounted.

The workshopID should be a string as being a number will cause issues.

Recently Changed

This was recently changed in version (0.8 - DEV).

The workshopID argument was changed from a number to a string to solve possible bugs.

Arguments

1string workshopID
The workshop ID to use
2boolean shouldMount = false
If the addon should be mounted or not