set_pev
- Синтаксис
-
native set_pev(_index,_value,any:...);
Переменная | Описание |
---|---|
_index |
The entity index to set the value on. |
_value |
The pev field to set, (look in fakemeta_const.inc) |
- Описание
- Sets entvar data for an entity. Use the pev_* enum from fakemeta_const.inc for reference.
- Пометка
-
Setting string data will automatically allocate a new string (via AllocString) If you have a string already allocated with your own call to AllocString, use set_pev_string_ptr instead.