Garry's Mod Wiki

package

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

Fields

table package.loaded
A list of all loaded packages.

Methods

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.