Garry's Mod Wiki

GetGlobalEntity

GetGlobalEntity

  Entity GetGlobalEntity( string index, Entity default = NULL )

Description

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

Arguments

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

Returns

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

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 33
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 7