set_pev_string

Синтаксис

native set_pev_string(_index, _value, _string);

Употреба

_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.

Описание

Use this native to set a pev field to a string that is already allocated (via a function such
as EngFunc_AllocString).

Забележка

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.