IsMounted

From Garry's Mod
Revision as of 21:50, 21 February 2019 by Gasp (Talk | contribs)
Jump to: navigation, search
 IsMounted( )

Contents

Description

Checks whether or not a game is currently mounted. Uses data given by engine.GetGames. Currently does not work correctly serverside on dedicated servers.

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