Dini Password numbers [rep++]
#3

Onplayerlogins

pawn Код:
if(dini_Exists(string2))
    {
        new password2 = num_hash(password);
        if(dini_Int(string2,"Lozinka") == password2)
        {
            PlayerInfo[playerid][pLozinka] = dini_Int(string2,"Lozinka");
Onplayerupdate

pawn Код:
dini_IntSet(string3, "Lozinka",PlayerInfo[playerid][pLozinka]);
OnPlayerRegister

pawn Код:
dini_Create(file);
          new password2 = num_hash(password);
          PlayerInfo[playerid][pLozinka] = password2;
          PlayerInfo[playerid][pReg] = 1;
          PlayerInfo[playerid][pLevel] = 3;
          PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
          SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
          dini_IntSet(file, "Lozinka",password2);
Reply


Messages In This Thread
Dini Password numbers [rep++] - by tekimakedonija - 26.02.2016, 12:16
Re: Dini Password numbers [rep++] - by K0P - 26.02.2016, 12:18
Re: Dini Password numbers [rep++] - by tekimakedonija - 26.02.2016, 12:47
Re: Dini Password numbers [rep++] - by N0FeaR - 26.02.2016, 12:53
Re: Dini Password numbers [rep++] - by Virtual1ty - 26.02.2016, 13:10
Re: Dini Password numbers [rep++] - by tekimakedonija - 26.02.2016, 13:12

Forum Jump:


Users browsing this thread: 2 Guest(s)