Entity.GetNetworkedVar

From GMod Wiki

Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetNetworkedVar]Entity.GetNetworkedVar [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets a networked variable.
Used onNewerShared.png
Code
Entity:GetNetworkedVar( "SomeString" )
OutputVariable from SomeString.

Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox