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: 39ms

DB GetPage 4
Generate Html 12
SaveChanges 9
Render Body 0
Render Sidebar 11