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