Garry's Mod Wiki

engine.GetGamemodes

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

```

Special Pages


Wikis

?

Render Time: 61ms

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