gamemode.Register

From Garry's Mod
Jump to: navigation, search
 gamemode.Register( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Called by the engine when a gamemode is being loaded.

Arguments

table gm

Your GM table

Arguments

string name

Name of your gamemode, lowercase, no spaces.

Arguments

string derived

The gamemode name that your gamemode is derived from
Personal tools
Navigation