Garry's Mod Wiki

newproxy

  userdata newproxy( boolean addMetatable = false )

Description

Returns a new userdata object.

Arguments

1 boolean addMetatable = false
If true, the userdata will get its own metatable automatically. If another newproxy is passed, it will create new one and copy its metatable.

Returns

1 userdata
The newly created userdata.