Raised This Month: $ Target: $400


Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Nov 2012
Location: Serbia
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:
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

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 02:50.

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