Entity/GetNetworkedInt

From Garry's Mod
Jump to: navigation, search
 Entity:GetNetworkedInt( )

Contents

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

You should use Entity:GetNWInt instead.

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

Arguments

string key

The key that is associated with the value

Arguments

number fallback=0

The value to return if we failed to retrieve the value. ( If it isn't set )

Returns

number

The retrieved value
Personal tools
Navigation