Garry's Mod Wiki

Garry's Mod Wiki

  any Entity:GetNetworked2Int( string key, any fallback = 0 )

Description

Retrieves a networked integer (whole number) value that was previously set by Entity:SetNetworked2Int.

We advise against using this. It may be changed or removed in a future update. You should be using Entity:GetNW2Int instead.
The integer has a 32 bit limit. Use Entity:SetNWInt and Entity:GetNWInt instead

Arguments

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

Returns

1 any
The value associated with the key

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...