AddTempEntHook Function

Hooks a temp entity.

void AddTempEntHook(const char[] te_name, TEHook hook)

Parameters

const char[] te_name

TE name to hook.

TEHook hook

Function to use as a hook.

Errors

Temp Entity name not available or invalid function hook.