You have to parse the file
before checking if the passwords match.
pawn Код:
if(udb_hash(inputtext) == pInfo[playerid][pass])
{
INI_ParseFile(Path(playerid),"loaduser_%s",.bExtra = true, .extra = playerid);
GivePlayerMoney(playerid,pInfo[playerid][money]);
SetPlayerScore(playerid,pInfo[playerid][score]);
}
The code is comparing the dialog text to pInfo[playerid][pass] when you haven't even loaded it yet. So when it's not loaded the password equals zero, thus not being able to log you in.