Garry's Mod Wiki

Revision Difference

Entity:SetNetworkedString#514490

<function name="SetNetworkedString" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:SetNWString</page> instead.</deprecated>⤶ ⤶ Sets a networked string value at specified index on the entity.⤶ ⤶ The value then can be accessed with <page>Entity:GetNetworkedString</page> both from client and server.⤶ ⤶ <note>Running this function clientside will only set it clientside for the client it is called on.</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="string">The key to associate the value with</arg>⤶ <arg name="value" type="string" default="">The value to set</arg>⤶ </args>⤶ </function>⤶ ⤶