Garry's Mod Wiki

GetGlobalVector

GetGlobalVector

  Vector GetGlobalVector( 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.

Special Pages


Wikis

?

Render Time: 55ms

DB GetPage 37
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7