Anticheat bug [HELP]
#1

When I'm driving a random car more than 100etc km/h i get kicked by the AC,Reason: AirBrake.What's wrong here,I really need this AntiHack.Rep who helps me solve this!


PHP код:
//=====================[ANTI AIRBRAKE]=====================
    
if(PAB == 1)
    {
        if(
GetPVarInt(i"Izbegavanje") == 0)
        {
            if(
GetPVarInt(i"SiguranTeleport") == 1)
            {
                
Zastita[i] = 1;
                
SetPVarInt(i"SiguranTeleport"0);
            }
            if(
GetPVarFloat(i"ZastitaTeleporta") == 1)
            {
                
Zastita[i] = 1;
                
SetPVarFloat(i,"ZastitaTeleporta",0);
            }
            if(
GetDistanceToPoint(i,Pozicija[i][0],Pozicija[i][1],Pozicija[i][2]) > 250 && Zastita[i] == && GetPlayerInterior(i) == && kickan[i] == && GetPVarInt(i"SiguranTeleport") == && AFK2[i] == 0)
            {
            new 
ankategorija[320]; new anime[320];
            
GetAnimationName(GetPlayerAnimationIndex(i),ankategorija,320,anime,320);
            
GetPlayerName(iimesizeof(ime));
            
GetPlayerIp(iipadresasizeof(ipadresa));
            if(
strcmp(anime,"RUN_PLAYER"false ) == && strcmp(ankategorija,"PED"false ) == 0)
            {
                
format(stringsizeof(string), "%s %s je kickan zbog Air Brake-a.",acimeime);
                
SendClientMessageToAll(CRVENAstring); kickan[i] = 1;
                
format(string2sizeof(string2),"{CD0000}Kickan si!\n{FFF8DC}Ime:{CD0000} %s\n{FFF8DC}Razlog:{CD0000} AirBrake\n{FFF8DC}IP:{CD0000} %s\n \n{CD0000}Ukoliko mislis da je doslo do greske,\n pritisni F8 i prijavi gresku na forum ovog servera.\n Adresa: %s",ime,ipadresa,forum);
                
ShowPlayerDialog(i20000DIALOG_STYLE_MSGBOX"{FFF8DC}[NG-AC]",string2"Ok""");
                
getdate(y,m,d);
                
gettime(h,mi,s);
                
format(string,sizeof(string), "[%d/%d/%d]-[%d:%d:%d] [NG-AC] je kickao %s zbog AirBrake-a",d,m,y,h,mi,s,ime);
                
log(string);
                
SetTimerEx("kick",10false"i"i);
            }
            if(
strcmp(anime,"WALK_PLAYER"false ) == && strcmp(ankategorija,"PED"false ) == 0)
            {
                
format(stringsizeof(string), "%s %s je kickan zbog Air Brake-a.",acimeime);
                
SendClientMessageToAll(CRVENAstring); kickan[i] = 1;
                
format(string2sizeof(string2),"{CD0000}Kickan si!\n{FFF8DC}Ime:{CD0000} %s\n{FFF8DC}Razlog:{CD0000} AirBrake\n{FFF8DC}IP:{CD0000} %s\n \n{CD0000}Ukoliko mislis da je doslo do greske,\n pritisni F8 i prijavi gresku na forum ovog servera.\n Adresa: %s",ime,ipadresa,forum);
                
ShowPlayerDialog(i20000DIALOG_STYLE_MSGBOX"{FFF8DC}[NG-AC]",string2"Ok""");
                
getdate(y,m,d);
                
gettime(h,mi,s);
                
format(string,sizeof(string), "[%d/%d/%d]-[%d:%d:%d] [NG-AC] je kickao %s zbog AirBrake-a",d,m,y,h,mi,s,ime);
                
log(string);
                
SetTimerEx("kick",10false"i"i);
            }
            }
        }
    } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)