CC_RemoveExploits

Syntax

stock CC_RemoveExploits(message[], len, bool:colors = true, bool:percent = true)

Usage

message
The message to remove exploits from
len
Maximum message length
colors
If set to true, it will remove the ETX, EOT & SOH chat color codes;
this prevents player from manually changing their chat color when they have the chance to
percent
If set to true, it will replace the '%' symbol with '%'

Description

Removes exploits from the message.

Note

You can change the '%' replacement symbol by adding #define CC_PERCENT_REPLACE "symbol here" before #include <cromchat>

Note

It is strongly advised to use this function whenever you're sending messages based on hooking "say" or "say_team"

Return

This function has no return value.