engine.GetGamemodes

From Garry's Mod
Jump to: navigation, search
 engine.GetGamemodes( )

Contents

Description

Returns a table containing info for all installed gamemodes

Returns

table

gamemodes

Examples

Example

Prints out a list of gamemodes and various info

PrintTable( engine.GetGamemodes() )

Output:

1:
 title = Base
 workshopid = 
 menusystem = false
 maps = 
 name = base
2:
 title = Sandbox
 workshopid = 
 menusystem = true
 maps = ^gm_| ^gmod_
 name = sandbox
Personal tools
Navigation