[Ajuda] Ant Xiter
#1

PHP код:
public CheckHack(playerid)
{
    new 
string[128];
    new 
string3[128];
    new 
stri[128];
    new 
ip[16];
    
GetPlayerIp(playeridipsizeof ip);
    new 
giveplayer[MAX_PLAYER_NAME];
    if(
IsPlayerInRangeOfPoint(playerid10.0FogoX[1],FogoY[1],FogoZ[1]))
    {
        if(
PlayerInfo[playerid][pMembro] != && PlayerInfo[playerid][pLider] != && IncendioAcontecendo == 1)
        {
            
CreateExplosion(FogoX[1],FogoY[1],FogoZ[1], 13.0);
        }
    }
    for(new 
0MAX_PLAYERSi++)
    {
           if(
IsPlayerConnected(i) && gPlayerLogged[i] == && !IsPlayerNPC(i) && spawnado[i] > 0)
           {
                      if(
GetPlayerWeapon(i) == 37)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou um Lanзa Chamas Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
getdate(yearmonthday);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 44)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Visao Noturna e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
getdate(yearmonthday);
                
Ban(i);
                }
                else if(
GetPlayerSpecialAction(i) == && PlayerInfo[i][pSocio] != && PlayerInfo[i][pSocio] != && PlayerInfo[i][pSocio] != && PlayerInfo[i][pSocio] != 4)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou um JetPack e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
getdate(yearmonthday);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 45)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Visao de Calor Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 26)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Sawn-Off Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 18)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou um Molotov Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 28)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Micro/Uzi Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 32)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Tec-9 Pelo ****** e foi foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 36)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Bazuca Pelo ****** e foi Banido Automaticamente!."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
                      else if(
GetPlayerWeapon(i) == 38 && NaPorraDoEvento[i] != true && PrimeiroChuck[i] != && PlayerInfo[i][pAdmin] != 1342 && PlayerInfo[i][pAdmin] != 1341 && PlayerInfo[i][pAdmin] != 1340)
                {
                
GetPlayerName(igiveplayersizeof(giveplayer));
                
format(stringsizeof(string), "[ANTICHEAT]: %s[ID %d] Pegou uma Minigun Pelo ****** e Foi Banido Automaticamente !."giveplayer,i);
                
BanLog(string);
                
SendClientMessage(playerid0x80FF00AA"» Vocк foi banido deve ter feito algo errado!");
                
SendClientMessage(playerid0xFFFFFFAA"» Se foi banido injustamente Tire um PrintScreen e tente o contato com um de nossos Admins!");
                
GameTextForPlayer(playerid,"~r~banido"25003);
                
format(string3sizeof(string3), "Banidos/Players/%s.ini"PlayerName(playerid));
                
format(strisizeof(stri), "IPsBanidos/Players/%s.ini",ip);
                
SendClientMessageToAll(COLOR_LIGHTRED,gstring);
                
Ban(i);
                }
            }
    }
    return 
1;


Ele Nгo Salva Os banidos nas pastas ajuda ai
Reply


Messages In This Thread
Ant Xiter - by iJooaO - 05.07.2013, 20:12
Re : Ant Xiter - by ThiagoMK - 05.07.2013, 20:25
Re: Ant Xiter - by Rodney Francalim - 05.07.2013, 20:28
Re: Ant Xiter - by iJooaO - 05.07.2013, 20:57

Forum Jump:


Users browsing this thread: 1 Guest(s)