nuclearsilo583/zephyrus-store-preview-new-syntax

Saysounds Cp Support

Levi2288 opened this issue · 1 comments

Hi, im using surftimer on multiple of my servers and i have chat processing enabled on them
ck_chat_enable 1 // (1 / 0) Enable or disable Surftimers chat processing..

Sadly saysounds triggers doesn't work then, probably because the module doesn't have cp support.
Most of the servers use cp now days so it should be a good thing to implement into the module.

Hmm... is it because the plugin uses the player_say event, and so it returns the message processed by chat-processor (including tags or message color..)?

I personally use OnClientSayCommand or OnClientSayCommand_Post (by checking if it's the say or say_team command, and then args to see the message being sent). That could allow muted players to use saysounds though (unless the command is handled in OnClientSayCommand by the moderation system, in which case the Post event won't fire).