Garry's Mod Wiki

Entity:SetNetworkedFloat

Entity:SetNetworkedFloat( string key, number value = 0 )

Description

We advise against using this. It may be changed or removed in a future update. 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.

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

Arguments

1 string key
The key to associate the value with
2 number value = 0
The value to set

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 2
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 7