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

DB GetPage 58
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 19