Garry's Mod Wiki

Revision Difference

Entity:SetNetworkedFloat#514493

<function name="SetNetworkedFloat" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:SetNWFloat</page> instead.</deprecated>⤶ ⤶ Sets a networked float value at specified index on the entity.⤶ ⤶ The value then can be accessed with <page>Entity:GetNetworkedFloat</page> both from client and server.⤶ ⤶ Seems to be the same as <page>Entity:GetNetworkedInt</page>.⤶ ⤶ <note>Running this function clientside will only set it clientside for the client it is called on.</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="string">The key to associate the value with</arg>⤶ <arg name="value" type="number" default="0">The value to set</arg>⤶ </args>⤶ </function>⤶ ⤶