Garry's Mod Wiki

package.seeall

  package.seeall( table module )

Description

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.

Arguments

1 table module
The module table to be given a metatable