Send a message in the cs:s chat

Please post any questions about developing your plugin here. Please use the search function before posting!
BASON
Junior Member
Posts: 5
Joined: Wed Aug 25, 2021 12:58 pm

Send a message in the cs:s chat

Postby BASON » Tue Sep 21, 2021 6:06 am

I ran into a problem that some plugins on sourcemod write 2 double messages to the chat, is it possible to somehow remove it?
decompile
Senior Member
Posts: 416
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: Send a message in the cs:s chat

Postby decompile » Wed Sep 22, 2021 2:42 pm

Can you print your "sp info" output into here, and also include a way so we can replicate it
NosferatuJoe
Junior Member
Posts: 17
Joined: Thu Jan 28, 2021 3:54 pm

Re: Send a message in the cs:s chat

Postby NosferatuJoe » Sat Sep 25, 2021 1:46 pm

Afaik it's due to eventscripts. Eventscripts handles messages in a certain way that can conflict with sourcemod or other plugins causing double messages. I do remember a sourcemod plugin that required you to enable a cvar if you have eventscripts running, and it would get rid of the duplicate messages.

If I can find the plugin, I'll post a link here because the code behind it will explain us why it happens or atleast how to fix the issue.
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Send a message in the cs:s chat

Postby L'In20Cible » Sun Sep 26, 2021 4:38 am

Syntax: Select all

eventscripts_chatevent 0

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 34 guests