UnhookSingleEntityOutput Function

Remove a single entity output hook.

bool UnhookSingleEntityOutput(int entity, const char[] output, EntityOutput callback)

Parameters

int entity

The entity on which to remove the hook.

const char[] output

The output name to hook.

EntityOutput callback

An EntityOutput function pointer.

Return Value

True on success, false if no valid hook was found.

Errors

Entity Outputs disabled or Invalid Entity index.