Anticheat Problem
#1

Hello, i have added a VIP-System, that VIP's get special Weapons, but now the Anticheat System ban the VIP-Users, because the Anticheat think it's a Hack, how can i make that the Users where VIP gonna not banned? Here are the Code:

Код:
new w = GetPlayerWeapon(i);
			    if(w != 0 && w != 40 && PlayerWeapon[i][w] == 0)
			    {
			        new gname[32];
			        GetWeaponName(w,gname,sizeof(gname));
			        format(str,144,"«| [BUSTED!] Ban: %s [Reason: Weapon Cheat (%s)] Unban-Appeal: Zombie-Opr.Tk |»",PlayerName[i],gname);
			        SendClientMessageToAll(COLOR_HAUT,str);
			        Ban(i);
Код:
if(VIP[i] == 1)
When the Player is VIP.
Reply
#2

pawn Код:
new w = GetPlayerWeapon(i);
                if(w != 0 && w != 40 && PlayerWeapon[i][w] == 0)if(VIP[i] ==0)
                {
                    new gname[32];
                    GetWeaponName(w,gname,sizeof(gname));
                    format(str,144,"«| [BUSTED!] Ban: %s [Reason: Weapon Cheat (%s)] Unban-Appeal: Zombie-Opr.Tk |»",PlayerName[i],gname);
                    SendClientMessageToAll(COLOR_HAUT,str);
                    Ban(i);
Reply
#3

pawn Код:
if(VIP[i] == 0)
{
  //Ban Code
}
Reply
#4

pawn Код:
// Inside the loop
if(VIP[i] == 1) continue;
new w = GetPlayerWeapon(i);
                if(w != 0 && w != 40 && PlayerWeapon[i][w] == 0)
                {
                    new gname[32];
                    GetWeaponName(w,gname,sizeof(gname));
                    format(str,144,"«| [BUSTED!] Ban: %s [Reason: Weapon Cheat (%s)] Unban-Appeal: Zombie-Opr.Tk |»",PlayerName[i],gname);
                    SendClientMessageToAll(COLOR_HAUT,str);
                    Ban(i);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)