CC_RemoveExploits
Removes exploits from the message.
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; |
| percent | If set to true, it will replace the '%' symbol with '%' |
Return
This function has no return value.
Notes
You can change the '%' replacement symbol by adding #define CC_PERCENT_REPLACE "symbol here" before #include <cromchat>
It is strongly advised to use this function whenever you're sending messages based on hooking "say" or "say_team"
Defined in
cromchat.inc
at line 770
.
This documentation was automatically generated from source.