Garry's Mod Wiki

Revision Difference

Entity:GetNetworkedString#518476

<function name="GetNetworkedString" parent="Entity" type="classfunc"> <description> <deprecated>You should use <page>Entity:GetNWString</page> instead.</deprecated> Retrieves a networked string value at specified index on the entity that is set by <page>Entity:SetNetworkedString</page>. </description> <realm>Shared</realm> <args> <arg name="key" type="string">The key that is associated with the value</arg> <arg name="fallback" type="string" default="">The value to return if we failed to retrieve the value. ( If it isn&#x27;t set )</arg> <arg name="fallback" type="string" default="">The value to return if we failed to retrieve the value. ( If it isn't set )</arg> </args> <rets> <ret name="" type="string">The retrieved value</ret> </rets> </function>