Entity.GetNetworkedVar
From GMod Wiki
Function | |
Syntax | Entity:GetNetworkedVar( Var index, [ Var default ] ) |
Description: | |
Returns a networked Var reference in this entity or default if index is not set. | |
Returns: | Var |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetNetworkedVar]Entity.GetNetworkedVar [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Gets a networked variable. |
---|---|
Used on | |
Code | Entity:GetNetworkedVar( "SomeString" ) |
Output | Variable from SomeString. |
Additional Notes
- Unlike other networked variables, the Entity.GetNWVar shortcut doesn't work.