Garry's Mod Wiki

IsMounted

boolean IsMounted( string game )

Description

Checks whether or not a game is currently mounted. Uses data given by engine.GetGames.

Arguments

1 string game
The game string/app ID to check.

Returns

1 boolean
True if the game is mounted.

Example

Check if Counter-Strike: Source is mounted.

IsMounted('cstrike')

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 12