HookSingleEntityOutput

Last Updated2016-05-20
Created At2008-04-02

Add an entity output hook on a single entity instance

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

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.

Return Value

void

Error

Entity Outputs disabled or Invalid Entity index.