Whirlpool - Argument type mismatch (argument 1)
#1

Hello. I've never tried scripting a SQLite registration system, so I was following a tutorial made by Konstantinos.
After I finished everything, I had one error with Whirlpool.

"(142) : error 035: argument type mismatch (argument 1)"

pawn Код:
new hashedpass[129];
WP_Hash(hashedpass, 129, inputtext); // Line 142
So can anyone tell me where's the problem?
Reply
#2

Код:
WP_Hash(hashedpass, sizeof(hashedpass), inputtext);
Reply
#3

Doesn't make any difference.
Reply
#4

Where are you hashing the password, in the login after registration or directly after registering?
Reply
#5

Do you have the correct native at the top of your script?

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

I do.

EDIT: Oh god... Simple error... Fixed, sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)