entity_set_edict
- Синтаксис
-
native entity_set_edict(iIndex, iKey, iNewIndex);
Переменная | Описание |
---|---|
iIndex |
Entity index |
iKey |
Entry to write to |
iNewIndex |
Entity index to set |
- Описание
- Sets an edict type value in an entities entvar struct.
- Пометка
-
For a list of valid edict type entries, see the EV_ENT_* constants in engine_const.inc
- Пометка
-
This native will crash the server if an invalid entity index is provided in iNewIndex.
- Возвращает
- 1 if value was sucessfully set, 0 if an invalid entry was specified