[Ajuda] Encriptar Senhas
#3

seria isso ?
Code:
		logouagora[playerid] = 1;
				CheckOwner(playerid);
				//CheckAdmin(playerid);
				CheckOwnerb(playerid);
				CheckOwnerh(playerid);
				//CheckVip(playerid);
			}//end while
			fclose(UserFile);//close the file after everything has been read in the while
		}
		else
		{
			SendClientMessage(playerid, COLOR_YELLOW, "Senha errada! - Se errar a senha 5 vezes terб o IP Banido!");
			new loginstring[256];
			new loginname[64];
			GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"{FFFFFF}Bem Vindo(a): {FFFF00}%s\n\n{FFFFFF}Status da Conta: {00FF00}Registrada\n\n{FFFFFF}Digite sua Senha Para Logar!\n\n www.{00FF00}br-{FFFF00}vice{4876FF}city{FFFFFF}.Forumeiros.Com",loginname);
			ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD,"{FFFF00}Brasil Vice City",loginstring,"Logar","Sair");
			fclose(UserFile);
			gPlayerLogTries[playerid] += 1;
			if(gPlayerLogTries[playerid] == 5)
			{
				new stri[64], tmp[20], tmp3[20], ip[16];
				GetPlayerIp(playerid, ip, sizeof ip);
				format(stri, sizeof(stri), "IPsBanidos/%s.ini",ip);
				getdate(Ano, Mes, Dia);
				format(tmp, 20, "%d/%d/%d", Dia, Mes, Ano);
				gettime(Hora, Minuto, Segundo);
				format(tmp3, 20, "%d:%d:%d", Hora, Minuto, Segundo);
				format(stri, sizeof(stri), "IPsBanidos/%s.ini",ip);
				DOF2_CreateFile(stri);
				DOF2_SetString(stri,"Motivo","Errou a senha 5 vezes");
				DOF2_SetString(stri,"Admin","Chuck_Norris");
				DOF2_SetString(stri,"Data",tmp);
				DOF2_SetString(stri,"Hora",tmp3);
				DOF2_SetString(stri,"Nick",PlayerName(playerid));
			}
			return 1;
		}
Reply


Messages In This Thread
Encriptar Senhas - by WendeLKILL - 22.03.2014, 19:38
Re: Encriptar Senhas - by VeNuZ_ - 22.03.2014, 19:43
Re: Encriptar Senhas - by WendeLKILL - 22.03.2014, 19:47
Re: Encriptar Senhas - by PT - 22.03.2014, 19:49
Re: Encriptar Senhas - by StreetGT - 22.03.2014, 19:52
Re: Encriptar Senhas - by WendeLKILL - 22.03.2014, 19:55
Re: Encriptar Senhas - by Schocc - 22.03.2014, 20:40
Re: Encriptar Senhas - by WendeLKILL - 22.03.2014, 21:03

Forum Jump:


Users browsing this thread: 2 Guest(s)