Raised This Month: $45 Target: $400
 11% 

Hook SH_MCALL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Old 11-27-2021 , 14:34   Hook SH_MCALL
Reply With Quote #1

I have a "Weapon_Drop" hook in my extension.
If I call the function this way:

PHP Code:
SH_MCALL(baseEntityWeapon_Drop)(weaponvec1vec2); 
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.

Last edited by kadet.89; 11-28-2021 at 07:44.
kadet.89 is offline
Send a message via Skype™ to kadet.89
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:03.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode