get_global_edict2

Синтаксис

native get_global_edict2(variable);

Употреба

variable
Entry to retrieve from

Описание

Returns a edict type value from the server globals.

Забележка

For a list of valid edict type entries, see the GL_* constants in
engine_const.inc under the "Edict" section.

Забележка

This native returns -1 as a safe error value if the edict retrieved is
an invalid entity. Otherwise it is identical to get_global_edict().

Връщаща стойност

Value of specified entry

Грешка

If an invalid entry is provided, an error will be thrown.