Very distracted now
#1

Well, I'm using dini (Don't start complaining of it). The problem is that when I try to use my registration system, it sets my hashed password as "0", so I tried to do it using
pawn Код:
dini_IntSet(filename[],key[],value)
It didn't give out errors but didn't work either.
Now I'm trying to use
pawn Код:
dini_Set(filename[],key[],value[])
Which has exactly the same parameters, but the dini_Set is returning this from compiler:

Well, it's pretty odd as this line is:
pawn Код:
dini_Set(UserPath(playerid), "Password", WP_Hash(buf, sizeof(buf), inputtext));
and it works perfectly with
pawn Код:
dini_IntSet(UserPath(playerid), "Password", WP_Hash(buf, sizeof(buf), inputtext));
but it doesn't save it to the file.

What's the problem?

WP_Hash:
pawn Код:
native WP_Hash(buffer[], len, const str[]);
WP_Hash location:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)