IsMounted

From Garry's Mod
Revision as of 12:31, 9 May 2019 by Bo98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 IsMounted( )

Contents

Description

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

Arguments

string game

The game string/app ID to check.

Returns

boolean

True if the game is mounted.

Examples

Example

Check if Counter-Strike: Source is mounted.

IsMounted('cstrike')


Personal tools
Navigation