Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it repeats the message #67

Open
Sarthak001 opened this issue Jun 15, 2020 · 2 comments
Open

it repeats the message #67

Sarthak001 opened this issue Jun 15, 2020 · 2 comments

Comments

@Sarthak001
Copy link

Sarthak001 commented Jun 15, 2020

after installing the chat processor. i noticed one bug (game : CS:GO)
when i use !say message (sm_say message) the sm command works but the same thing gets broadcast to all players.
i am attaching a screenshot
https://imgur.com/a/IgIV5ZE

@crashzk
Copy link

crashzk commented Aug 18, 2020

As far as I know this is normal CSGO behavior if you use the sm_say command in direct chat, !say Test it sends your message and the message you used.

I remind you that SourceMod has shortcuts for these chat commands, instead of using the !say command and your message, put @ before the message in the normal chat, if you have the necessary privileges it already sends the message directly.

Example, open your chat as normal and type @ test message sending by sm_say

@Hexer10
Copy link
Contributor

Hexer10 commented Aug 19, 2020

Definitely a sourcemod behavior use can either start your message with a @ to broadcast a message (make sure to send the message in public chat since in the team chat you'll send a message for only the admins) or otherwise just use the / instead of ! (that will work for any command)

EDIT: This actually might be something wrong with the chat processor in the following code sourcemod attemps to block the sending of !say in the chat might chat-processor resends it ignoring the fact the sm tried to cancel that.

https://github.com/alliedmodders/sourcemod/blob/47514c7708f2c753bca148953ad4e3a24d09085f/plugins/basechat.sp#L101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants