Garry's Mod Wiki

Garry's Mod Wiki

  string engine.ActiveGamemode()

Description

Returns the name of the currently running gamemode.

Returns

1 string
The active gamemode's name. This is the name of the gamemode's folder.

Example

Prints out the name of the active gamemode.

Output:
sandbox

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...