Garry's Mod Wiki

debug.upvaluejoin

  debug.upvaluejoin( function f1, number n1, function f2, number n2 )

Description

This function was removed due to security concerns.

Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2.

Arguments

2 number n1
4 number n2