Garry's Mod Wiki


table debug.getregistry()


Returns the internal Lua registry table.

The Lua registry is used by the engine and binary modules to create references to Lua values. Avoid creating entries into the registry with a number as the key, as they are reserved for the reference system.

Improper editing of the registry can result in unintended side effects, including crashing of the game.


1 table
The Lua registry

Page Links

Special Pages



Render Time: 42ms

DB GetPage 6
Generate Html 2
SaveChanges (1) 18
Render Body 0
Render Sidebar 13