HookSingleEntityOutput Function

Add an entity output hook on a single entity instance

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

Parameters

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.

Errors

Entity Outputs disabled or Invalid Entity index.