Garry's Mod Wiki

GetGlobal2Vector

  Vector GetGlobal2Vector( string Index, Vector Default )

Description

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

Arguments

1 string Index
The unique index to identify the global value with.
2 Vector Default
The value to return if the global value is not set.

Returns

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