Raised This Month: $ Target: $400
 0% 

[HELP] Chat prefix makes double messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 05-16-2012 , 19:40   [HELP] Chat prefix makes double messages
Reply With Quote #1

Hey, I got this plugin from someone on here called admin_chat_colors_admintag and modified it a little bit to leave out the cvars and tag, but mostly kept it the same.

When I use the chat, though, it shows me double messages, for example:
[Grim Reaper] gName: Hey
gName: Hey

Hopefully you guys can help me out with this - I'd greatly appreciate it. I am going to test changing the return values of the say/teamsay hooks to return PLUGIN_HANDLED and see if that will help.

Edit: Yeah returning PLUGIN_HANDLED fixed it, I had a brain fart for a second there.

Many thanks

Last edited by Y060N; 05-16-2012 at 19:43.
Y060N is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-16-2012 , 20:05   Re: [HELP] Chat prefix makes double messages
Reply With Quote #2

Quote:
Originally Posted by Y060N View Post
Edit: Yeah returning PLUGIN_HANDLED fixed it, I had a brain fart for a second there.

Many thanks
I was gonna say try PLUGIN_HANDLED
Liverwiz is offline
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 00:22.


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