debug.setmetatable

From GMod Wiki

Jump to: navigation, search
Function
Syntax debug.setmetatable( Object object, Table table )
Where is this used?
Description:
Sets the metatable for the given object to the given table (which can be nil).
Returns: Metatable
Part of Library: Debug
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Debug.setmetatable]Debug.setmetatable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox