Кикает античит мод Soft RP. Пробовал вырезать ниже представленные строчки, но тогда крашит при входе. Как вырезать античит?
stock KickEx(playerid,errorcode)
{
if(PlayerInfo[playerid][pAdmin] != 0) return SendMes(playerid, COLOR_YELLOW, "[A] Администратора невозможно кикнуть (#%d) ",errorcode);
new string[128];
if(errorcode != 0)
{
SendMes(playerid, COLOR_YELLOW, "Вы были отсоединены от сервера! Код античита: (#%d)",errorcode);
SendClientMessage(playerid, COLOR_LIGHTRED, "Если вы посчитали, что это ошибка - сделайте скриншот F8");
PlayerPlaySound(playerid, 6001, 0.0, 0.0, 0.0);
format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (#%d)",PlayerInfo[playerid][pSendername], playerid,errorcode);
switch(errorcode)
{
case 65435: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SandBoxie (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 6131: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Air Brake (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 8122: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: GunCheat (#%d))",PlayerInfo[playerid][pSendername], playerid , errorcode);
case 1188: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SpeedHack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 3233: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarFlood (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1233: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: JetPack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 12011: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: INVLogin (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
//сВОБОДНОcase 0244: format(string, 128, "[A] >> Игрок %s (ID: %d) кикнут (AC: 0xFF SOB (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 5244,5255: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: FakeKill (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
//сВОБОДНО case 8611: format(string, 128, "[A] >> Игрок %s (ID: %d) кикнут (AC: NEW AC TEST (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1424: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: TuneCar (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1425: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Крашер (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 331: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SpeedHack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 4211: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: NOP:RemoveFVeh (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1442: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarColorChange (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 116,117,118: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Crasher2 (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 112: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarFlood & Slap (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 2312: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Fly Hack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1171: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Cleo TP (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1125: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Sobeit Weapons (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 8881: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: MGInVeh (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
}
SendAdminMessage(COLOR_BLUE, string);
Log("KickLog",string);
GKick(playerid);
}
else
{
format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (без кода ошибки)",PlayerInfo[playerid][pSendername], playerid);
SendAdminMessage(COLOR_BLUE, string);
GKick(playerid);
}
return true;
}
{
if(PlayerInfo[playerid][pAdmin] != 0) return SendMes(playerid, COLOR_YELLOW, "[A] Администратора невозможно кикнуть (#%d) ",errorcode);
new string[128];
if(errorcode != 0)
{
SendMes(playerid, COLOR_YELLOW, "Вы были отсоединены от сервера! Код античита: (#%d)",errorcode);
SendClientMessage(playerid, COLOR_LIGHTRED, "Если вы посчитали, что это ошибка - сделайте скриншот F8");
PlayerPlaySound(playerid, 6001, 0.0, 0.0, 0.0);
format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (#%d)",PlayerInfo[playerid][pSendername], playerid,errorcode);
switch(errorcode)
{
case 65435: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SandBoxie (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 6131: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Air Brake (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 8122: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: GunCheat (#%d))",PlayerInfo[playerid][pSendername], playerid , errorcode);
case 1188: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SpeedHack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 3233: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarFlood (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1233: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: JetPack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 12011: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: INVLogin (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
//сВОБОДНОcase 0244: format(string, 128, "[A] >> Игрок %s (ID: %d) кикнут (AC: 0xFF SOB (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 5244,5255: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: FakeKill (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
//сВОБОДНО case 8611: format(string, 128, "[A] >> Игрок %s (ID: %d) кикнут (AC: NEW AC TEST (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1424: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: TuneCar (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1425: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Крашер (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 331: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: SpeedHack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 4211: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: NOP:RemoveFVeh (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1442: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarColorChange (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 116,117,118: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Crasher2 (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 112: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: CarFlood & Slap (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 2312: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Fly Hack (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1171: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Cleo TP (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 1125: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: Sobeit Weapons (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
case 8881: format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (AC: MGInVeh (#%d))",PlayerInfo[playerid][pSendername], playerid,errorcode);
}
SendAdminMessage(COLOR_BLUE, string);
Log("KickLog",string);
GKick(playerid);
}
else
{
format(string, 128, "[A] » Игрок %s (ID: %d) кикнут (без кода ошибки)",PlayerInfo[playerid][pSendername], playerid);
SendAdminMessage(COLOR_BLUE, string);
GKick(playerid);
}
return true;
}
Последнее редактирование модератором: