Whirlpool errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Whirlpool errors (
/showthread.php?tid=548358)
Whirlpool errors -
LocMax - 29.11.2014
pawn Код:
new Query[95], epass[21], hash[130];
mysql_real_escape_string(inputtext, epass);
format(Query, sizeof(Query), "SELECT * FROM users WHERE name = '%s' AND password = '%s'", PlayerInfo[playerid][Name], WP_Hash(hash, sizeof(hash), epass));
I keep getting error: argument type mismatch (argument 1) on this... I don't seem to get what's wrong.
Re: Whirlpool errors -
Raweresh - 29.11.2014
Код:
new Query[95], epass[21], hash[130];
mysql_real_escape_string(inputtext, epass);
WP_Hash(hash, sizeof(hash), epass)
format(Query, sizeof(Query), "SELECT * FROM users WHERE name = '%s' AND password = '%s'", PlayerInfo[playerid][Name],hash);