01.05.2015, 15:27
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; }