Garry's Mod Wiki

Entity:SetNetworkedVarProxy

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

Currently this function only works for the NW2Var system (accessed by adding a 2 in between Networked and Var for most NetworkedVar functions), which will replace the original one at some point in the future

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.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 8