Signature
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).
Notes
- If you specify _value as anything other than string fields, an error will be thrown.
- Pass 0 as the _string field to set it to an empty string.
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.