Solved
#1

Solved
Reply
#2

[BUMP]
Reply
#3

You can bump your topic if you don't get reply for 12 hours.

Show lines 67 and 68.
Reply
#4

Quote:
Originally Posted by ikarus❶❸❸❼
You can bump your topic if you don't get reply for 12 hours.

Show lines 67 and 68.
Ohh sorry

67 line: Pass = dini_Get(pFile, "Slaptazodis");
68 line: if(WP_Hash(inputtext) != strval(pass))
Reply
#5

Quote:
Originally Posted by ■ RenisiL ■
Quote:
Originally Posted by ikarus❶❸❸❼
You can bump your topic if you don't get reply for 12 hours.

Show lines 67 and 68.
Or sorry

67 line: Pass = dini_Get(pFile, "Slaptazodis");
68 line: if(WP_Hash(inputtext) != strval(pass))
pawn Код:
new Pass = dini_Get(pFIle, "Slaptazodis");
For 68 I don't know, I don't work with Dini
Reply
#6

Wrong, There is already a Variable.
Reply
#7

Try this, I too don't work with Dini, because its slow.
pawn Код:
if(dialogid == 2)
  {
    if(response == 1)
    {
            if(strlen(inputtext))
            {
            new pass[256];
                new buf[145];
                WP_Hash(buf, sizeof(buf), inputtext);
        pass = dini_Get(pFile, "Slaptazodis");
            if(!strcmp(pass, buf, false))
            {
                SendClientMessage(playerid, COLOR_RAUDONA, "[Klaida]: Blogas slaptaћodis !");
                format(w,sizeof(w),"Tu esi uћsiregistraves\n\n\nPraљome prisijungti.",name);
                ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Prisijungimo Meniu",w,"Prisijungti","Atљaukti");
                }
                else
                {
                    PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
                    PlayerData[playerid][Pinigai] = dini_Int(pFile, "Pinigai");
                    PlayerData[playerid][Exp] = dini_Int(pFile, "Exp");
                    PlayerData[playerid][Mirtys] = dini_Int(pFile, "Mirtys");
                    PlayerData[playerid][Nuzudymai] = dini_Int(pFile, "Nuzudymai");
                    PlayerData[playerid][Ispejimai] = dini_Int(pFile, "Ispejimai");
          PlayerData[playerid][AdminLevel] = dini_Int(pFile, "AdminLevel");
          PlayerData[playerid][ParkourWin] = dini_Int(pFile, "ParkourWin");
          PlayerData[playerid][VIP] = dini_Int(pFile, "VIP");
          PlayerData[playerid][Lygis] = dini_Int(pFile, "Lygis");
                    GivePlayerMoney(playerid, PlayerData[playerid][Pinigai]);
          SetPlayerScore(playerid, PlayerData[playerid][Exp]);

                    PlayerData[playerid][Prisijungtas] = true;
                SendClientMessage(playerid, COLOR_ZALIA, "SERVER INFO: Jus esate sekmingai prijungtas prie accounto, galite testi ћaidima.");
                PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
            printf("%s (ID:%i) Prisijunge prie accounto.", name, playerid);
                }
            }
            else
            {
            SendClientMessage(playerid, COLOR_RAUDONA, "[Klaida]: Jus neivedete slaptaћodћio.");
            format(w,sizeof(w),"Tu esi uћsiregistraves \n\n\nPraљome prisijungti",name);
            ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Prisijungimo Meniu",w,"Prisijungti","Atљaukti");
            }
    }
    if(response == 0)
    {
        format(w,sizeof(w),"Tu esi uћsiregistraves \n\n\nPraљome prisijungti",name);
        ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Prisijungimo Meniu",w,"Prisijungti","Atљaukti");
    }
  }
Reply
#8

Thank you, here's my error was very fucker
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)