Garry's Mod Wiki

Garry's Mod Wiki

  function Entity:GetNetworked2VarProxy( any key )

Description

We advise against using this. It may be changed or removed in a future update. You should be using Entity:GetNW2VarProxy instead.

Returns callback function for given NWVar of this entity. Alias of Entity:GetNW2VarProxy

Arguments

1 any key
The key of the NWVar to get callback of.

Returns

1 function
The callback of given NWVar, or nil if not found.

Example

Prints callback function of a NWVar called "Key" of Player 1.

Output:
nil function: builtin#25

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...