Raised This Month: $51 Target: $400
 12% 

[CSGO] Hooking PrintToChat of another plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shortguy
Member
Join Date: Jul 2009
Old 10-13-2015 , 05:45   [CSGO] Hooking PrintToChat of another plugin
Reply With Quote #1

Hi there,

I was wondering if it is at all possible to hook the function that occurs a plugin prints something to chat. Or if there is anyway to just grab all messages that ever get posted to chat and I can filter that? This is for CS:GO.
shortguy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-13-2015 , 05:49   Re: [CSGO] Hooking PrintToChat of another plugin
Reply With Quote #2

you can hook chat messages with HookUserMessage

*edit
find and check plugin SM prefix

edit
https://forums.alliedmods.net/showpo...1&postcount=66
__________________
Do not Private Message @me

Last edited by Bacardi; 10-13-2015 at 05:57.
Bacardi is offline
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:58.


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