Error login (y_ini, whirpool)
#3

Quote:
Originally Posted by aoEXE
Посмотреть сообщение
Try this
pawn Код:
if(dialogid == dlogin)
    {
        if(!response) return Kick(playerid);
        if(response)
        {
            new hashpass[129];
            INI_ParseFile(Path(playerid), "LoadUser_data", .bExtra = true, .extra = playerid);
            WP_Hash(hashpass, sizeof(hashpass), inputtext);
            if(!strcmp(hashpass, Info[playerid][pPass], false))
            {
                SetPlayerScore(playerid, Info[playerid][pLevel]);
                GivePlayerMoney(playerid, Info[playerid][pDinero]);
                SetPlayerSkin(playerid, Info[playerid][pSkin]);
                SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
                SendClientMessage(playerid, -1, "Has entrado a Napsix Roleplay.");
            }
            else
            {
                ShowPlayerDialog(playerid, dlogin, DIALOG_STYLE_PASSWORD, "Login", "Bienvenido a Napsix Roleplay.\nIngresa tu contraseсa.\nContraseсa Incorrecta!", "Aceptar", "Salir");
                return 1;
            }
        }
    }
Nope, incorrect password dialog when enter a correct password
Reply


Messages In This Thread
Error login (y_ini, whirpool) - by roderjit - 18.10.2014, 19:24
Respuesta: Error login (y_ini, whirpool) - by aoEXE - 18.10.2014, 20:01
Respuesta: Error login (y_ini, whirpool) - by roderjit - 18.10.2014, 20:14
Respuesta: Error login (y_ini, whirpool) - by aoEXE - 18.10.2014, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)