entity_get_vector

Синтаксис

native entity_get_vector(iIndex, iKey, Float:vRetVector[3]);

Употреба

iIndex
Entity index
iKey
Entry to retrieve from
vRetVector
Array to store vector in

Описание

Retrieves a vector type value from an entities entvar struct.

Забележка

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

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

1 if value was sucessfully retrieved, 0 if an invalid
entry was specified

Грешка

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