Entity/SetNetworkedFloat

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

Description

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

You should use Entity:SetNWFloat instead.

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

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

Seems to be the same as Entity:GetNetworkedInt.

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