Garry's Mod Wiki


The package library is a standard Lua library, it's mainly for use with the module system built into Lua.


table package.loaded
A list of all loaded packages.


package.seeall( table module )
Sets a metatable for module with its __index field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to module.