Garry's Mod Wiki

engine.SetMounted

  engine.SetMounted( string depotID, boolean doMount )

Description

Sets the mounting options for mountable content.

Arguments

1 string depotID
The depot id of the game to mount.
2 boolean doMount
The mount state, true to mount, false to unmount