GetGlobalEntity

From Garry's Mod
Jump to: navigation, search
 GetGlobalEntity( )

Contents

Description

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

Arguments

string index

The unique index to identify the global value with.

Arguments

Entity default=NULL

The value to return if the global value is not set.

Returns

Entity

The global value, or the default if the global value is not set.
Personal tools
Navigation