Quote:
Originally Posted by jugule
Hi, how can I block symbols like this: (in chat)
ⓄⒼⒷ
?
is there a plugin that blocks something like this?
thanks!
|
Just add every symbol you would like to block like this:
PHP Code:
|| StrContains(sArgs,"YOURSYMBOL",false)!=-1
To the if condition below:
PHP Code:
#pragma semicolon 1
#define DEBUG
#define PLUGIN_AUTHOR ""
#define PLUGIN_VERSION "0.00"
#include <sourcemod>
#include <sdktools>
#pragma newdecls required
public Plugin myinfo =
{
name = "",
author = PLUGIN_AUTHOR,
description = "",
version = PLUGIN_VERSION,
url = ""
};
public Action OnClientSayCommand(int client, const char[] command, const char[] sArgs)
{
if(StrContains(sArgs,"Ⓑ",false)!=-1 || StrContains(sArgs,"Ⓞ",false)!=-1 || StrContains(sArgs,"Ⓖ",false)!=-1)
return Plugin_Handled;
return Plugin_Continue;
}
__________________