I have a "Weapon_Drop" hook in my extension.
If I call the function this way:
PHP Code:
SH_MCALL(baseEntity, Weapon_Drop)(weapon, vec1, vec2);
it works, but non of the hooks of this function in other extensions and in plugins get fired.
How can I make reliable hooks which will intercept all calls of the hooked functions, even ones made with SH_MCALL ?
I have to check player weapons in gameframe to be sure that my plugins and extensions stay consistend with the entity conditions. A would like to get rid of these checks and use hooks instead.