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

```

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 6