Garry's Mod Wiki

Entity:SetNetworkedEntity

Entity:SetNetworkedEntity( string key, Entity value = NULL )

Description

We advise against using this. It may be changed or removed in a future update. 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.

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 Entity value = NULL
The value to set

Page Links


Special Pages


Wikis

?

Render Time: 38ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 9
Render Body 0
Render Sidebar 18