decrypting udb_hash?
#4

pawn Код:
CMD:changepassword(playerid, params[])
{
    if(isnull(params))
        return SendClientMessage(playerid, -1, ""#LIME"<CMD USAGE> "#WHITE"/changepassword <new password>");
       
    accInfo[playerid][Passcode] = udb_hash(params);
   
    new
        INI:accFile = INI_Open(find_accPath(playerid) );
       
    INI_SetTag(accFile,     "data");
    INI_WriteInt(accFile,   "Passcode",     udb_hash(params) );
       
    INI_Close(accFile);
   
    format(pwStr, sizeof(pwStr), ""#CYAN"» "#WHITE"Your password has been changed from \"%s\" to \"%s\"", oldPass, params);
    SendClientMessage(playerid, -1, pwStr);
    return true;
}
Of course, the oldPass is why I need it.
Reply


Messages In This Thread
decrypting udb_hash? - by 2KY - 12.02.2012, 18:07
Re: decrypting udb_hash? - by iTorran - 12.02.2012, 18:10
Re: decrypting udb_hash? - by Madd Kat - 12.02.2012, 18:10
Re: decrypting udb_hash? - by 2KY - 12.02.2012, 18:12
Re: decrypting udb_hash? - by iTorran - 12.02.2012, 18:12
Re: decrypting udb_hash? - by 2KY - 12.02.2012, 18:14
Re: decrypting udb_hash? - by Vince - 12.02.2012, 18:15
Re: decrypting udb_hash? - by Madd Kat - 12.02.2012, 18:16
Re: decrypting udb_hash? - by 2KY - 12.02.2012, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)