Quote:
Originally Posted by Nikkii
It's the way User Messages are done, read the post I linked above... Not sure if it can be prevented (Since the messages it's hooking multiple times do sometimes get ignored and they continue), I might look into it tomorrow using a command listener on say/say_team and only stopping multiple on Plugin_Changed, as it'll create a new message and that's the end of it >.>
Not sure exactly how the messages work, but considering it creates a new one if it changed it shouldn't be that bad.
|
I figured out the problem. At least in TF2, OnChatMessage is called for each player instead of a single call with all the players set in the ADT array.
The way to fix this would be to aggregate receivers for the same client in a single tick, then fire OnChatMessage on the next game frame.
Also another bug with this plugin is that Plugin_Handled is treated the same is Plugin_Continue when it should be the same as Plugin_Stop.
__________________