AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Chat prefix makes double messages (https://forums.alliedmods.net/showthread.php?t=185403)

Y060N 05-16-2012 19:40

[HELP] Chat prefix makes double messages
 
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 :)

Liverwiz 05-16-2012 20:05

Re: [HELP] Chat prefix makes double messages
 
Quote:

Originally Posted by Y060N (Post 1710320)
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


All times are GMT -4. The time now is 00:22.

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