SDKHookEx Function

Hooks an entity

Unhooked automatically upon destruction/removal of the entity

bool SDKHookEx(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

Return Value

Hook Successful