Error login (y_ini, whirpool)
#4

The error is in the tag

pawn Код:
if(dialogid == dregistro)
    {
        if(!response) return Kick(playerid);
        if(response)
        {
            if(!strlen(inputtext))
            {
                ShowPlayerDialog(playerid, dregistro, DIALOG_STYLE_PASSWORD, "Nueva Cuenta", "Bienvenido a Napsix Roleplay.\nPara crear una cuenta, ingresa una contraseсa.", "Aceptar", "Salir");
                return 1;
            }
            SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
            SetPlayerPos(playerid, 2770.641113, -1871.648925, 22.665542);
            InterpolateCameraPos(playerid, 2770.641113, -1871.648925, 22.665542, 2761.425292, -1992.413574, 18.984594, 12000);
            InterpolateCameraLookAt(playerid, 2770.638427, -1876.626953, 22.197479, 2764.325683, -1996.359497, 17.975938, 6000);

            new hashpass[129];
            WP_Hash(hashpass, sizeof(hashpass), inputtext);

            new INI:File = INI_Open(Path(playerid));
            INI_SetTag(File, "data");
            INI_WriteString(File, "Contraseсa", hashpass);
            INI_WriteInt(File, "Admin", 0);
            INI_WriteInt(File, "Dinero", 0);
            INI_WriteInt(File, "Nivel", 0);
            INI_WriteInt(File, "Skin", 299);
            INI_Close(File);

            SendClientMessage(playerid, -1, "Te has registrado en Napsix Roleplay.");
            return 1;
        }
    }
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)