Garry's Mod Wiki

gamemode.Register

gamemode.Register( table gm, string name, string derived )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called by the engine when a gamemode is being loaded.

Arguments

1 table gm
Your GM table
2 string name
Name of your gamemode, lowercase, no spaces.
3 string derived
The gamemode name that your gamemode is derived from

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 14
Render Body 0
Render Sidebar 5