SDKHookEx Function

Hooks an 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

bool Hook Successful