Garry's Mod Wiki

Garry's Mod Wiki

  DeriveGamemode( string base )

Description

Loads and registers the specified gamemode, setting the GM table's DerivedFrom field to the value provided, if the table exists. The DerivedFrom field is used post-gamemode-load as the "derived" parameter for gamemode.Register. See Gamemode_Creation for more information about deriving gamemodes.

Arguments

1 string base
Gamemode name to derive from.

Example

Retrieves data from sandbox.

DeriveGamemode("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...