TE_WriteEncodedEnt Function

Sets an encoded entity index in the current temp entity. (This is usually used for m_nStartEntity and m_nEndEntity).

void TE_WriteEncodedEnt(const char[] prop, int value)

Parameters

const char[] prop

Property to use.

int value

Value to set.

Errors

Property not found.