G.GetMountedContent

From GMod Wiki

Revision as of 03:00, 4 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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