Garry's Mod Wiki

Entity:GetNetworkedEntity

  Entity Entity:GetNetworkedEntity( string key, Entity fallback = NULL )

Description

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

Retrieves a networked float value at specified index on the entity that is set by Entity:SetNetworkedEntity.

Arguments

1 string key
The key that is associated with the value
2 Entity fallback = NULL
The value to return if we failed to retrieve the value. ( If it isn't set )

Returns

1 Entity
The retrieved value