Raised This Month: $ Target: $400
 0% 

Block Text/Hud message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 12-07-2009 , 14:44   Block Text/Hud message
Reply With Quote #1

How to block such as 'Game Commencing!', 'Bomb has been planted' etc... ?
__________________
xbatista is offline
Send a message via Skype™ to xbatista
API
Veteran Member
Join Date: May 2006
Old 12-07-2009 , 15:33   Re: Block Text/Hud message
Reply With Quote #2

This would require a hook, you could make a suggestion to the author of Hacks, or file a bug report suggesting such a hook.
__________________
API is offline
Send a message via AIM to API
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 12-07-2009 , 15:47   Re: Block Text/Hud message
Reply With Quote #3

I've try to hook message such as TextMsg,HudText,HudMsg and to block it such as cstrike_TXT...., no success, I can block all messages sent by hud message/center hud by round_end, just hooking round end and print center hud with empty tags " " .
But thats sucks :/
Dunno if someone will answer for my suggestion to add new hook event for blocking/getting messages sent by Hudmsg or any other messages. :]
__________________
xbatista is offline
Send a message via Skype™ to xbatista
psychonic

BAFFLED
Join Date: May 2008
Old 12-07-2009 , 15:55   Re: Block Text/Hud message
Reply With Quote #4

Use HookUserMessage and return Plugin_Handled in the MsgHook to block it.
psychonic is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 12-07-2009 , 15:58   Re: Block Text/Hud message
Reply With Quote #5

MsgHook is message id? lol
__________________
xbatista is offline
Send a message via Skype™ to xbatista
psychonic

BAFFLED
Join Date: May 2008
Old 12-07-2009 , 16:03   Re: Block Text/Hud message
Reply With Quote #6

Use GetUserMessageId to get the message id from the message name.
psychonic is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 12-07-2009 , 16:07   Re: Block Text/Hud message
Reply With Quote #7

I know I did that before, no success still displaying
__________________
xbatista is offline
Send a message via Skype™ to xbatista
psychonic

BAFFLED
Join Date: May 2008
Old 12-07-2009 , 16:12   Re: Block Text/Hud message
Reply With Quote #8

Quote:
Originally Posted by xbatista View Post
I know I did that before, no success still displaying
Paste your code.
psychonic is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 12-07-2009 , 16:13   Re: Block Text/Hud message
Reply With Quote #9

Not sure if dontBroadcast was implemented yet... but you can block and refire the event with dontBroadcast set to true.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 12-07-2009 , 16:18   Re: Block Text/Hud message
Reply With Quote #10

Ok will paste later, now I go sleep ZzZ
__________________
xbatista is offline
Send a message via Skype™ to xbatista
Reply



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 04:22.


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