get_pdata_ent | fakemeta | AMX X Documentation

Инклуды

    1. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    2. Стоки
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    2. Форварды
    1. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Стоки
    1. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    1. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    2. Стоки
    1. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Стоки
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Стоки

get_pdata_ent

Синтаксис
									native get_pdata_ent(_index, _offset, _linuxdiff = 20, _macdiff = 20);
								
Переменная Описание
_index
Entity index.
_offset
Offset to search.
_linuxdiff
Linux difference.
_macdiff
Mac OS X difference.

Описание
Tries to retrieve an edict pointer from an entity's private data. This function is byte-addressable. Unlike get_pdata_int() which searches in byte increments of 4, get_pdata_ent searches in increments of 1. _linuxdiff value is what to add to the _offset for linux servers. _macdiff value is what to add to the _offset for os x servers. A log error is thrown on invalid _index and _Offset.

Возвращает
-2 if an invalid entity was found. -1 if an empty entity was found. Otherwise, an entity index is returned.
Сверху Снизу