Garry's Mod Wiki

GetGlobal2Angle

  Angle GetGlobal2Angle( string index, Angle default = Angle( 0, 0, 0 ) )

Description

Returns an angle that is shared between the server and all clients.

Arguments

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

Returns

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