Quote:
Originally Posted by OciXCrom
Plugins on top have priority over the ones below them. If plugin A is on top of plugin B and it stops some function/forward, it won't be called in plugin B.
A good example for this is why we (or at least I do) always put gag plugins on top of plugins.ini, so they can block adminchat.amxx.
|
In this case u are wrong, cause hamsandwich replaces original function with yours and after registering first hook, calling struct will be something like this:
Function A => Original Function
and after 2nd hook it would be:
Function B => Function A => Original Function
(Cause function that will be replaced is Function A & not Orignal Function or something else).
Note: Function A is in Plugin A which is first in plugins.ini

& Plugin B (Function B) is last one.
__________________