View Single Post
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 12-27-2015 , 08:32   Re: Module: Orpheu (v2.6.3)
Reply With Quote #1435

Quote:
Originally Posted by PartialCloning View Post
Is it possible to hook/block the messages sent from other plugins through orpheu using UTIL_HudMessage? Or can it only be done through the method ot_207 mentions in the quote above?
Maybe, the most ellegant way is to create a metamod plugin, which catches MessageBegin() to look for (msg) type==23 then catching the second WriteByte() which contains the HUD channel and change it to something else. This way you will prevent sending HUDs through that channel from ALL the metamod plugins (including AMXX itself) and the HUD messages wont be dropped. And before sending your messages make sure they wont be checked and resended through another channel as well.
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex is offline