DeriveGamemode

From Garry's Mod
Jump to: navigation, search
 DeriveGamemode( )

Contents

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

string base

Gamemode name to derive from.

Examples

Example

Retrieves data from sandbox.

DeriveGamemode("sandbox")


Personal tools
Navigation