native
set_pev_string
Syntax
native set_pev_string(_index, _value, _string);
Description
Use this native to set a pev field to a string that is already allocated (via a function such
as EngFunc_AllocString).
Parameters
| _index | The entity index to set the value on. |
|---|---|
| _value | The pev field to set - MUST be a string field. |
| _string | The string handle, retrieved from places like AllocString. |
Note
If you specify _value as anything other than string fields, an error will be thrown.
Note
Pass 0 as the _string field to set it to an empty string.