Garry's Mod Wiki

Revision Difference

Entity:GetNetworkedFloat#515472

<function name="GetNetworkedFloat" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:GetNWFloat</page> instead.</deprecated>⤶ ⤶ Retrieves a networked float value at specified index on the entity that is set by <page>Entity:SetNetworkedFloat</page>.⤶ ⤶ Seems to be the same as <page>Entity:GetNetworkedInt</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="string">The key that is associated with the value</arg>⤶ <arg name="fallback" type="number" default="0">The value to return if we failed to retrieve the value. ( If it isn&#x27;t set )</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The retrieved value</ret>⤶ </rets>⤶ </function>⤶ ⤶