Message showing twice.
title says all. When i type something in chat, the prefix and colors are correct, but it's showing the message twice, why?
PHP Code:
|
Re: Message showing twice.
Just return PLUGIN_HANDLED.
|
Re: Message showing twice.
doesn't work.
|
Re: Message showing twice.
Do you use another plugin that changes the chat?
|
Re: Message showing twice.
Fixed it already, thanks for your answers tho.
|
Re: Message showing twice.
Also, i have the godmode plugin, but when i type /godmode now, it isn't showing the menu or anything, can someone help me with this?
|
Re: Message showing twice.
Return PLUGIN_HANDLED_MAIN and remove that dublicate function.
|
Re: Message showing twice.
Quote:
Also, you have to remember when you start returning PLUGIN_HANDLED on any chat hook you risk messing things up with other plugins. |
Re: Message showing twice.
I had another plugin like <VeCo> said.
Also, thanks. return PLUGIN_HANDLED_MAIN worked. Thanks :) |
Re: Message showing twice.
Also, remove :
Code:
register_message(szSayText, "MsgDuplicate") |
| All times are GMT -4. The time now is 07:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.