AMX Mod X API Documentation

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

Retrieves a vector type value from an entities entvar struct.

Notes
  • For a list of valid vector type entries, see the EV_VEC_* constants in

    engine_const.inc

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

1 if value was sucessfully retrieved, 0 if an invalid

entry was specified

Errors
  • If an invalid entity index is provided, an error will be

    thrown.

Назад
Верх