pawn Code:
public OnPlayerConnect(playerid)
{
SortePlayer[playerid] = 0;
Pergunta[playerid] = "Nenhuma";
PlayersOnline++;
PlayerDados[playerid][Logado] = false;
PlayerDados[playerid][Admin] = 0;
PermitidoJetPack[playerid] = false;
Player[playerid][Vip] = 0;
new strConta[80];
new Ip[25];
for(new t = 0; t < 100; ++t)
{
SendClientMessage(playerid, -1, " ");
}
for(new i; i<sizeof(NomesProibidos); i++)
{
new Nick[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nick, sizeof(Nick));
if(!strcmp(Nick, NomesProibidos[i], true))
{
SendClientMessage(playerid, 0xFFFF00AA, "[INFO-NICK] Vocк Foi Banido/Kickado Do Servidor Por Usar Um Nick Proibido!");
format(hstring, sizeof(hstring), "[Anti Nick's] O Jogador %s Foi Kickado/Banido Por Tentar Entrar Com Nick Proibido", Nick);
SendClientMessageToAll(0xFF0000AA, hstring);
BanEx(playerid, "-=[Nick Proibido]=-");
Kick(playerid);
}
}
new connecting_ip[32+1];
GetPlayerIp(playerid,connecting_ip,32);
new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);
if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
printf("Ant-Bot: leitor de ligaзгo (% d) excedido% d conexхes IP de% s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
Kick(playerid);
}
if(msgconvi[playerid] == 1)
{
KillTimer(timercou[playerid]);
}
msgcount[playerid] = -1;
msgconvi[playerid] = 0;
SendClientMessage(playerid, Verde,"{1E90FF}Bem vindo ao {FF00FF}Brasil Top Killers 2.0.");
SendClientMessage(playerid, Vermelho,"{FFD700}><><><><><><><><><><><><><><><><><><><><><><><><");
SendClientMessage(playerid, Laranja,"{9ACD32}Gamemode de DM Feito Por {00FFFF}Bruno Alves");
SendClientMessage(playerid, Vermelho,"{FFD700}><><><><><><><><><><><><><><><><><><><><><><><><");
RaceInfo[playerid] = TextDrawCreate(633.000000, 348.000000, " ");
TextDrawAlignment(RaceInfo[playerid], 3);
TextDrawBackgroundColor(RaceInfo[playerid], 255);
TextDrawFont(RaceInfo[playerid], 1);
TextDrawLetterSize(RaceInfo[playerid], 0.240000, 1.100000);
TextDrawColor(RaceInfo[playerid], -687931137);
TextDrawSetOutline(RaceInfo[playerid], 0);
TextDrawSetProportional(RaceInfo[playerid], 1);
TextDrawSetShadow(RaceInfo[playerid], 1);
format(strConta, sizeof(strConta), "BTKCONTAS/Banidos/Contas/%s.txt", Nome(playerid));
if(DOF2_FileExists(strConta))
{
format(String, sizeof(String), "{FFFFFF}Vocк estб banido deste servidor!\n\n Dados do Banimento:\n\n{45F75A}Admin: {FFFFFF}%s \n{45F75A}Motivo: {FFFFFF}%s", DOF2_GetString(strConta, "Admin"), DOF2_GetString(strConta, "Motivo"));
format(String, sizeof(String), "%s\n{45F75A}Data: {FFFFFF}%d/%d/%d \n{45F75A}Hora: {FFFFFF}%d:%d", String, DOF2_GetInt(strConta, "Dia"), DOF2_GetInt(strConta, "Mes"), DOF2_GetInt(strConta, "Ano"), DOF2_GetInt(strConta, "Hora"), DOF2_GetInt(strConta, "Minuto"));
ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
return 1;
}
GetPlayerIp(playerid, Ip, 25);
if(strcmp(Ip ,"255.255.255.255", true) == 0)
{
Ban(playerid);
}
if(DOF2_IsSet("BTKCONTAS/Banidos/Ips.txt", Ip))
{
format(String, sizeof(String), "{FFFFFF} Seu IP estб banido deste Servidor!\n\nDados:\nIP:%s\n%s", Ip, DOF2_GetString("BTKCONTAS/Banidos/Ips.txt", Ip));
ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
return 1;
}
format(String, sizeof(String), "%s Conectou ao servidor", Nome(playerid));
SendClientMessageToAll(VERDE_CLARO, String);
format(StringContas, sizeof(StringContas), "BTKCONTAS/Contas/%s.txt", Nome(playerid));
TextFundo(playerid);
if(!DOF2_FileExists(StringContas))
{
format(String, sizeof(String), "{F1FC14}Conta: %s\n{FC1E1E}Nгo registrada.\n\n{07D915}Digite uma senha para se registrar\nem nosso banco de dados.", Nome(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "{1EB2FC}Registrando...", String, "Registrar", "Sair");
return 1;
}
else
{
format(String, sizeof(String), "{F1FC14}Conta: %s\n{28FC14}Registrada.\n\n{14F1FC}Digite sua senha para Logar", Nome(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "{FC14E9}Logando...", String, "Logar", "Sair");
}
return 1;
}
Eu analisei mas n encontrei algo suspeito, se vcs quiserem entrar e ver o que exatamente estou falando seria melhor estou esperando para mostrar a vcs ''-''