Anti weapon hack help
#1

How do i edit the weapon ID's ? Because it spams the chat if somebody is running around with a RPG (The normal one) And that weapon is used in my gamemode, what lines do i have to edit to set so the RPG is a "okay" weapon.
pawn Code:
new x_wep, xamm;
        GetPlayerWeaponData(i, 7, x_wep, xamm);
        if(x_wep > 0 && xamm > 0)
        {
                GetPlayerName(i, kickname, sizeof(kickname));
                format(kstring, 128, "[Warning] (%d)%s was found having an unscripted weapon! (%d)",i,kickname,x_wep);
                AdministratorMessage(COLOR_RED,kstring,1);
                HackLog(kstring);
                printf("%s", kstring);
        }
        GetPlayerWeaponData(i, 8, x_wep, xamm);
        if(x_wep == 16 && xamm > 0)
        {
                GetPlayerName(i, kickname, sizeof(kickname));
                format(kstring, 128, "AdmWarning: [%d]%s was found having an unscripted weapon! (%d)",i,kickname,x_wep);
                AdministratorMessage(COLOR_RED,kstring,1);
                HackLog(kstring);
                printf("%s", kstring);
Reply


Messages In This Thread
Anti weapon hack help - by Perker12345 - 02.02.2010, 08:04
Re: Anti weapon hack help - by [WSM]Deadly_Evil - 02.02.2010, 08:30
Re: Anti weapon hack help - by mansonh - 02.02.2010, 08:30

Forum Jump:


Users browsing this thread: 1 Guest(s)