Garry's Mod Wiki

Revision Difference

debug.getregistry#513384

<function name="getregistry" parent="debug" type="libraryfunc">⤶ <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.</warning>⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <rets>⤶ <ret name="" type="table">The Lua registry</ret>⤶ </rets>⤶ </function>⤶ ⤶