Entity/SetNetworkedString

From Garry's Mod
Jump to: navigation, search
 Entity:SetNetworkedString( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

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.

NOTE

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

Arguments

string key

The key to associate the value with

Arguments

string value=""

The value to set
Personal tools
Navigation