entity_get_int

Синтаксис

native entity_get_int(iIndex, iKey);

Употреба

iIndex
Entity index
iKey
Entry to retrieve from

Описание

Returns an integer type value from an entities entvar struct.

Забележка

For a list of valid integer type entries, see the EV_INT_* constants in
engine_const.inc

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

Value of specified entry

Грешка

If an invalid entity index is provided, an error will be
thrown.