entity_get_string
- Синтаксис
-
native entity_get_string(iIndex, iKey, szReturn[], iRetLen);
Переменная | Описание |
---|---|
iIndex |
Entity index |
iKey |
Entry to retrieve from |
szReturn |
Buffer to copy value to |
iRetLen |
Maximum size of buffer |
- Описание
- Retrieves a string type value from an entities entvar struct.
- Пометка
-
For a list of valid string type entries, see the EV_SZ_* constants in engine_const.inc
- Возвращает
- Number of cells written to buffer, 0 if an invalid entry was specified