Garry's Mod Wiki

GetGlobalFloat

GetGlobalFloat

  number GetGlobalFloat( string index, number default = 0 )

Description

Returns a float that is shared between the server and all clients.

Arguments

1 string index
The unique index to identify the global value with.
2 number default = 0
The value to return if the global value is not set.

Returns

1 number
The global value, or the default if the global value is not set.

Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 39
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 6