Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetNetworkedString( string key, string value = "" )

Description

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

Sets a networked string value at specified index on the entity.

The value then can be accessed with Entity:GetNetworkedString both from client and server.

Running this function clientside will only set it clientside for the client it is called on.

Arguments

1 string key
The key to associate the value with
2 string value = ""
The value to set

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...