RegisterHookChain

Синтаксис

native HookChain:RegisterHookChain({EngineFunc, GamedllFunc, GamedllFunc_CBaseAnimating, GamedllFunc_CBasePlayer, GamedllFunc_CSGameRules, GamedllFunc_CGrenade, GamedllFunc_CWeaponBox, ReCheckerFunc}:function_id, const callback[], post = 0);

Употреба

function
The function to hook
callback
The forward to call
post
Whether or not to forward this in post

Описание

Hook API function that are available into enum.
Look at the enums for parameter lists.

Връщаща стойност

Returns a hook handle. Use EnableHookChain/DisableHookChain to toggle the forward on or off