Quote:
Originally Posted by Bacardi
I prefer use HookUserMessage() than commands "say" "say_team".
But, this is only my opinion.
|
We can not rely only on HookUserMessage() because this event can fired more than once for the same chat messages under certain conditions. This will result in duplicate messages. I use "say" and "say_team" commands only in order to determine who should see the chat message - one team or all players.
Quote:
Originally Posted by Bacardi
Question, what happen when admin use silent chat commands ?
/hp @me 500
|
There will be something that would have occurred in the absence of the plugin. This plugin just copies the message after at least one of the players saw the chat message (player_say event). The message is copied only for those players who have not received it by default (eg because of dead or other restrictions). If none of the players saw the message, it means nothing to copy, right? (:
__________________