Garry's Mod Wiki

SetGlobalFloat

  SetGlobalFloat( any index, number float )

Description

Defines a floating point number to be automatically networked to clients

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

Arguments

1 any index
Index to identify the global float with
2 number float
Float to be networked