AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Blocking message propagation (https://forums.alliedmods.net/showthread.php?t=105374)

vitorrd 10-03-2009 23:02

Blocking message propagation
 
Hello.
I have a small problem regarding hooked messages. I have used register_clcmd to place a 'say' command on my server. However, there seems to be another parser running that also receives my clcmd as a simple message. What happens is that my command, that returns PLUGIN_HANDLED and therefore should not be sent to the "print_chat" area, IS sent for some reason.
Is there any way to fix it such that my command is blocked from being parsed by any other text hooks? Would I then have to use the SayText packet?

Thanks in advance,
Vitor.


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

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