Entity/SetNetworkedEntity

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

Description

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

You should use Entity:SetNWEntity instead.

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

The value then can be accessed with Entity:GetNetworkedEntity 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

Entity value=NULL

The value to set
Personal tools
Navigation