Garry's Mod Wiki

Garry's Mod Wiki

  userdata newproxy( boolean addMetatable = false )
  userdata newproxy( userdata userData )

Description

Fails under certain conditions when called in coroutines

Issue Tracker: 5299

Creates a new userdata object.

Default Arguments

1 boolean addMetatable = false
If true, the created userdata will be given its own metatable.

Argument Overload: Userdata Copy

1 userdata userData
Creates a new userdata with the same metatable the userdata passed in had. The userdata passed in must be a userdata that has a metatable that was created from this function.

Returns

1 userdata
The newly created userdata.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...