1 Error with my anticheat.
#2

pawn Код:
forward AntiCheat();
public AntiCheat()
{
    new weap[13][2];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && ADMIN[i] == 0)
        {
             GetPlayerWeaponData(playerid, i, weap[i][0], weap[i][1]); //Missle Launcher
            else if(ammo > 1 && weap == 36 && MISSLE36[i] == false) //Line With Error
            {
                new string [128];
                new pName[MAX_PLAYER_NAME];
                GetPlayerName(i, pName, sizeof(pName));
                format(string, sizeof(string), "BANNED: %s has been auto banned by console. [Missle Launcher]", pName);
                SendClientMessageToAll(COLOR_RED, string);
                printf(string);
                GetPlayerName(i, pName, sizeof(pName));
                BanEx(i, "%s has been auto banned by console. [Missle Launcher]");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
1 Error with my anticheat. - by BP13 - 22.11.2009, 23:53
Re: 1 Error with my anticheat. - by Peter_Corneile - 23.11.2009, 00:21
Re: 1 Error with my anticheat. - by bigcomfycouch - 23.11.2009, 00:34
Re: 1 Error with my anticheat. - by BP13 - 23.11.2009, 03:21

Forum Jump:


Users browsing this thread: 1 Guest(s)