AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hooking other plugin native/forward/function (https://forums.alliedmods.net/showthread.php?t=156179)

SonicSonedit 05-02-2011 05:07

Hooking other plugin native/forward/function
 
Is it somehow possible to hook native/forward/function from another plugin and redirect to yours?

Arkshine 05-02-2011 05:41

Re: Hooking other plugin native/forward/function
 
Hooking natives with orpheu is possible, I've already done it. Forward/public functions, no idea, it's probably possible but should be more tricky. Unless you have a good reason to do that, you should not try to mess with that. So, you want to what exactly ?

SonicSonedit 05-02-2011 06:57

Re: Hooking other plugin native/forward/function
 
Arkshine
I thought using orpheu to hook a native in Zombie Plague, to redirect sub-plugins that attach with certain native to Zombie Plague core plugin to the my own. But on second thought, it doesn't worth it - it's easier and more reliable to create your own native and ask players to use it.


All times are GMT -4. The time now is 04:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.