HookSingleEntityOutput Function

Add an entity output hook on a single entity instance

void HookSingleEntityOutput(int entity, const char[] output, EntityOutput callback, bool once)


int entity

The entity on which to add a hook.

const char[] output

The output name to hook.

EntityOutput callback

An EntityOutput function pointer.

bool once

Only fire this hook once and then remove itself.


Entity Outputs disabled or Invalid Entity index.