AMX Mod X API Documentation

Signature
native entity_get_int(iIndex, iKey);
Description

Returns an integer type value from an entities entvar struct.

Notes
  • For a list of valid integer type entries, see the EV_INT_* constants in

    engine_const.inc

Parameters
  • iIndex Entity index
  • iKey Entry to retrieve from
Returns

Value of specified entry

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

    thrown.

Назад
Верх