14.12.2018, 06:48
hello guys i am working on a new register/login system but i am confused with a problem i am getting.
i used this
on DIALOG_REGISTER
but its not working correctly when i am using it on DIALOG_REGISTER_CONFIRM
help yea
i used this
on DIALOG_REGISTER
Код:
SetPVarInt(playerid, "confirmpass", SHA256_PassHash(inputtext, pInfo[playerid][Salt], pInfo[playerid][Password], 10));
Код:
if (GetPVarInt(playerid, "confirmpass") != SHA256_PassHash(inputtext, pInfo[playerid][Salt], pInfo[playerid][Password], 10))