G.GetMountedContent

From GMod Wiki

Jump to: navigation, search
Function
Syntax GetMountedContent( )
Where is this used?
Description:
Retrieves all the mounted content in this GMod session.
Returns: Table
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetMountedContent]G.GetMountedContent [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrints all the currently mounted content.
Used onNewerShared.png
Code
PrintTable( GetMountedContent() )
Output
Counter-Strike	=	cstrike
HL2: Episode 1	=	episodic
Day of Defeat	=	dod
Portal	=	portal
Half-Life 2: Deathmatch	=	hl2mp
HL2: Episode 2	=	ep2
Team Fortress 2	=	tf
Half-Life 2	=	hl2


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox