IsMounted

From Garry's Mod
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