> > > >

entity_get_edict | engine | AMX X Documentation

Includes

    1. Stocks
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Forwards
    1. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks
    1. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Stocks
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks

entity_get_edict

Syntax
									native entity_get_edict(iIndex, iKey);
								
Variable Description
iIndex
Entity index
iKey
Entry to retrieve from

Description
Returns an edict type value from an entities entvar struct.

Note
For a list of valid edict type entries, see the EV_ENT_* constants in
engine_const.inc

Note
This native returns 0 as an error value if the edict retrieved from the
entvar is an invalid entity. As 0 is an entity index that is
considered to be a valid value for some entvars ("worldspawn"), this
native can potentially return a misleading value. Use
entity_get_edict2() for a safe version.

Return
Entity index in specified entry, 0 if the edict in the entvar is not a valid entity or an invalid entry was specified
> > > >