TE_WriteEnt Function

Sets an entity value in the current temp entity.

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

Parameters

const char[] prop

Property to use.

int value

Entity reference or index value to set.

Errors

Property not found.