debug.getregistry

From Garry's Mod
Jump to: navigation, search
 debug.getregistry( )

Description

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.

WARNING

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

Returns

table

The Lua registry
Personal tools
Navigation