entity_set_string
- Синтаксис
-
native entity_set_string(iIndex, iKey, const szNewVal[]);
Переменная | Описание |
---|---|
iIndex |
Entity index |
iKey |
Entry to retrieve from |
szNewVal |
String to copy to the entity |
- Описание
- Sets a string type value in an entities entvar struct.
- Пометка
-
For a list of valid string type entries, see the EV_SZ_* constants in engine_const.inc
- Возвращает
- 1 if value was sucessfully set, 0 if an invalid entry was specified