Garry's Mod Wiki


  any Entity:GetNetworked2String( string key, any fallback )


Retrieves a networked string value at specified index on the entity that is set by Entity:SetNetworked2String.

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


1 string key
The key that is associated with the value
2 any fallback
The value to return if we failed to retrieve the value. (If it isn't set)


1 any
The value associated with the key