From Garry's Mod
Revision as of 12:30, 9 May 2019 by Bo98
Returns an array of tables corresponding to all games from which Garry's Mod supports mounting content.
A table of tables containing all mountable games
Prints out a list of games, their Steam AppIds, titles and status (owned, installed, mounted).
PrintTable( engine.GetGames() )
1: depot = 220 title = Half-Life 2 owned = true folder = hl2 mounted = true installed = true 2: depot = 240 title = Counter-Strike owned = false folder = cstrike mounted = false installed = false 3: depot = 300 title = Day of Defeat owned = false folder = dod mounted = false installed = false 4: depot = 440 title = Team Fortress 2 owned = true folder = tf mounted = true installed = true