Garry's Mod Wiki

Garry's Mod Wiki

  RegisterMetaTable( string metaName, table metaTable )

Recently Added

This was recently added in version (2024.06.04). It might only be available on the Dev Branch right now.

Description

Registers a given table as a metatable. It can then be accessed by other code/addons via FindMetaTable.

Arguments

1 string metaName
The new metatable name. Cannot override existing types.
2 table metaTable
The new metatable table. It will be given a MetaID and MetaName fields.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...