Quote:
Originally Posted by F0RCE
omg .
Trying this now . I will update this post with SMA when I'm done , so someone will check it
PHP Code:
register_forward(FM_Think,g_sClassName,"think_Dzialko");
|
Code:
new ForwardId;
ForwardId = register_forward( FM_Think, "ThinkFunc" );
// ...
unregister_forward( FM_Think, ForwardId );
If you plan on spawning several sentrys, unregistering the think would result in the other sentrys not working. So again, disregard from what I said about disabling the hook, just hook the think with fakemeta as following:
Code:
register_forward(FM_Think, "think_Dzialko");
And you're good to go. Won't throw an error.
__________________