Deff
Участник
- Сообщения
- 350
- Реакции
- 137
Всем привет,что тут не так?
C-подобный:
#include <materialadmin>
#pragma newdecls required
static const char ForbiddenPhrase [][]=
{
"EZfrags.co.uk",
"If I was cheating",
"You just got pwned by EZfrags, the #1 CS:GO cheat",
"I'm not using www.EZfrags.co.uk, you're just bad",
"Stop being a noob! Get good with www.EZfrags.co.uk",
"Visit www.EZfrags.co.uk for the finest public & private CS:GO cheats"
};
public void OnClientSayCommand_Post(int iClient, const char[] command, const char[] sArgs) {
if (iClient > 0) {
for (int i; i < sizeof(ForbiddenPhrase); ++i){
if (!StrContains(sArgs, ForbiddenPhrase[i], false)) {
MABanPlayer(iClient, 0, 0, "Анти чит нашел читы,говнюк");
// ServerCommand("sm_ban \"%N\" 0 \"Auto-Ban_Cheat\"", iClient);
break;
}
}
}
}