Entity.SetNetworkedVarProxy
From GMod Wiki
Revision as of 04:09, 7 December 2009 by Deco Da Man (Talk | contribs)
Function | |
Syntax | Entity:SetNetworkedVarProxy( String name, Function proxy ) |
Description: | |
Calls the specified function when the variable is changed. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetNetworkedVarProxy]Entity.SetNetworkedVarProxy [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- This stops GetNetworked* from working so you have to work around that.
- The oldval argument passed to the function does not work correctly.
- Function is called regularly, even if there is no change.