Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetNetworkedVarProxy( string name, function callback )

Description

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

Sets callback function to be called when given NWVar changes.

Arguments

1 string name
The name of the NWVar to add callback for.
2 function callback
The function to be called when the NWVar changes.
Function argument(s):
1 Entity ent - The entity
2 string name - Name of the NWVar that has changed
3 any oldval - The old value
4 any newval - The new value

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

Last Parsed: Loading...