22.07.2014, 19:06
I've been trying multiple ways to make it so that it will insert the players name into the account area, at the same time i have no idea if it's a hashing error?
Error:
pawn Код:
new string[310], HashedPW[145];
WP_Hash(HashedPW, sizeof (HashedPW), inputtext);
format(string, sizeof(string), "INSERT INTO `accounts` (Name, Password) VALUES ('%s', '%s')", GetPlayerName(playerid), HashedPW);
mysql_query(string);
Error:
Код:
warning 202: number of arguments does not match definition