Anticheat is spamming
#1

Hello, i have this weapons anticheat, it works good but there is a problem..is spamming 10-15 messages every minute.

This is the full code:

pawn Код:
new AcMessageTimer[MAX_PLAYERS], AcMsg[150];
forward AcMessage(playerid);

public AcMessage(playerid)
{
    new weap2=GetPlayerWeapon(playerid);
    new WeaponName2[65];
    GetWeaponName(weap2,WeaponName2,64);
    format(AcMsg,sizeof(AcMsg),"ACMsg: System has detected possible weapon hack of %s at %s(%d).",WeaponName2,PlayerName(playerid),playerid);
    SendClientMessageToAdmin(1,-1,RED,AcMsg);
    format(AcMsg,sizeof(AcMsg), "8,1%s",AcMsg);
    IRC_GroupSay(gGroupID, IRC_ADMIN_CHANNEL,AcMsg);
    IRC_GroupSay(gGroupID, IRC_MANAGEMENT_CHANNEL,AcMsg);
    return 1;
}

        //this is included in the AC public
    if(!AllowedWeapon[playerid][GetPlayerWeapon(playerid)] && IsValidWeapon(weap2) && GetPlayerWeapon(playerid) != 46 && (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && Info[playerid][AdminLevel] == 0))
    {
            AcMessageTimer[playerid] = SetTimerEx("AcMessage",1000,false,"d",playerid);

    }
And this is what i mean for spam:

Quote:

[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:21] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of at MrSnowony(7).
[21:22] <&MG4> ACMsg: System has detected possible weapon hack of Chainsaw at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of Chainsaw at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG3> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG1> ACMsg: System has detected possible weapon hack of Desert Eagle at MrSnowony(7).
[21:22] <&MG2> ACMsg: System has detected possible weapon hack of at MrSnowony(7).

Reply


Messages In This Thread
Anticheat is spamming - by Face9000 - 20.11.2013, 19:24
Re: Anticheat is spamming - by Michael@Belgium - 20.11.2013, 19:28
Re: Anticheat is spamming - by Patrick - 20.11.2013, 19:32
Re: Anticheat is spamming - by yugecin - 20.11.2013, 19:33
Re: Anticheat is spamming - by Face9000 - 20.11.2013, 19:39
Re: Anticheat is spamming - by Patrick - 20.11.2013, 19:43
Re: Anticheat is spamming - by Face9000 - 20.11.2013, 19:45
Re: Anticheat is spamming - by Face9000 - 20.11.2013, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)