Entity/SetNetworkedInt

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

Description

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

You should use Entity:SetNWInt instead.

Sets a networked integer value at specified index on the entity.

The value then can be accessed with Entity:GetNetworkedInt both from client and server.

NOTE

Running this function clientside will only set it clientside for the client it is called on.

Arguments

string key

The key to associate the value with

Arguments

number value=0

The value to set
Personal tools
Navigation