Quote:
Originally Posted by rhelgeby
You can't override stuff in ZR from other plugins.
|
Well, I don't believe that. I'll wait for more coders to give their opinion.
And when I said "override", I meant "replace" ZR's SDKHooks by doing the following:
Code:
// replace hooks
SDKUnhook(client, SDKHook_WeaponCanUse, RestrictCanUse); // from ZR plugin
SDKHook(client, SDKHook_WeaponCanUse, zr_nade_RestrictCanUse); // to my plugin
I should also mention that ZR's callback function RestrictCanUse is
public. I only need a reference to it.