Revision Difference
Global.SetGlobal2Float#547632
<function name="SetGlobalFloat" parent="Global" type="libraryfunc">⤶
<description>⤶
Defines a floating point number to be automatically networked to clients⤶
⤶
<warning>This function doesn't seem to save the floats not right. Use <page>Global.SetGlobalFloat</page> to use working</warning>⤶
<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="index" type="any">Index to identify the global float with</arg>⤶
<arg name="float" type="number">Float to be networked</arg>⤶
</args>⤶
</function>⤶
⤶
<example>⤶
<code>SetGlobal2Float("Example", 3.3)⤶
print(GetGlobal2Float("Example"))</code>⤶
<output>3.2999999523163</output>⤶
</example>