Garry's Mod Wiki

Entity:GetNetworkedInt

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

Description

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.

Arguments

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 )

Returns

1 number
The retrieved value