Garry's Mod Wiki

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

```

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 12