Garry's Mod Wiki

DeriveGamemode

DeriveGamemode

  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.

Arguments

1 string base
Gamemode name to derive from.

Example

Retrieves data from sandbox.

DeriveGamemode("sandbox")

Special Pages


Wikis

?

Render Time: 48ms

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