Impossible
#5

It doesn't change, and it has no problem at all because if i've restarted the server it will work.... and of course i will show ya..

Код:
	case D_LOGIN:
	{
		if (response)
		{
			if(IsNull(inputtext))
			{
				ShowLoginDialog(playerid,D_LOGIN);
				return 1;
			}
			new string2[128], hashpass[129], playername2[MAX_PLAYER_NAME];
            WP_Hash(hashpass,sizeof(hashpass),inputtext);
			if(!strcmp(hashpass, PlayerInfo[playerid][pPassword], false))
			{
				GetPlayerName(playerid, playername2, sizeof(playername2));
				format(string2, sizeof(string2), "Accounts/%s.ini", playername2);
				INI_ParseFile(string2, "LoadUserInformation", false, true, playerid, true, false );
				format(string2, sizeof(string2), "PlayersVehicles/%s.ini", playername2);
				INI_ParseFile(string2, "LoadUserVehicleInformation", false, true, playerid, true, false );
				format(string2, sizeof(string2), "PlayersToys/%s.ini", playername2);
				INI_ParseFile(string2, "LoadUserToysInformation", false, true, playerid, true, false );
				PlayerConnected(playerid);
			}
			else
			{
				ClearChatbox(playerid);
				ShowLoginDialog(playerid,D_LOGIN);
				SendInfoMessage(playerid, 0, "7", "The typed password is not valid, please try again.");
				gPlayerLogTries[playerid] += 1;
				if(gPlayerLogTries[playerid] == 3) { Kick(playerid); }
			}
		}
		else
		{
			Kick(playerid);
		}
		return 1;
	}
Reply


Messages In This Thread
Impossible - by Antoniohl - 01.05.2015, 14:05
Re: Impossible - by Alpay0098 - 01.05.2015, 14:09
Re: Impossible - by Antoniohl - 01.05.2015, 14:11
Re: Impossible - by Threshold - 01.05.2015, 15:13
Re: Impossible - by Antoniohl - 01.05.2015, 15:27
Re: Impossible - by Antoniohl - 01.05.2015, 17:14
Re: Impossible - by Antoniohl - 01.05.2015, 22:45
Re: Impossible - by DRCharlie - 01.05.2015, 23:09
Re: Impossible - by Antoniohl - 02.05.2015, 09:59
Re: Impossible - by Threshold - 02.05.2015, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)