Garry's Mod Wiki


  number Entity:GetNetworkedInt( string key, number fallback = 0 )


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

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


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


1 number
The retrieved value