16.02.2012, 15:11
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
It didn't give out errors but didn't work either.
Now I'm trying to use
Which has exactly the same parameters, but the dini_Set is returning this from compiler:

Well, it's pretty odd as this line is:
and it works perfectly with
but it doesn't save it to the file.
What's the problem?
WP_Hash:
WP_Hash location:
pawn Код:
dini_IntSet(filename[],key[],value)
Now I'm trying to use
pawn Код:
dini_Set(filename[],key[],value[])

Well, it's pretty odd as this line is:
pawn Код:
dini_Set(UserPath(playerid), "Password", WP_Hash(buf, sizeof(buf), inputtext));
pawn Код:
dini_IntSet(UserPath(playerid), "Password", WP_Hash(buf, sizeof(buf), inputtext));
What's the problem?
WP_Hash:
pawn Код:
native WP_Hash(buffer[], len, const str[]);
