Garry's Mod Wiki

engine.GetGamemodes

  table engine.GetGamemodes()

Description

Returns a table containing info for all installed gamemodes

Returns

1 table
gamemodes

Example

Prints out a list of gamemodes and various info

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

```