SDKHook Function

Hooks an entity

Unhooked automatically upon destruction/removal of the entity

void SDKHook(int entity, SDKHookType type, SDKHookCB callback)

Parameters

int entity

Entity index

SDKHookType type

Type of function to hook

SDKHookCB callback

Function to call when hook is called