05.12.2016, 17:36
Aright... It comes. I am trying to use "Whirlpool".
It doesn't work. print says: "(NULL)" and it doesn't continue... without WP_Hash, it works.
Код HTML:
new query[256], password[256]; WP_Hash(password, 129, inputtext); mysql_format(mysql, query, sizeof(query), "INSERT INTO `accounts` (username, password, ip, lastconnect, alvl, access) VALUES ('%s', '%s', '%s', '%s', '0', '0')", PlayerName(playerid), password, PlayerIP(playerid), globalLastConnect()); print(query); mysql_tquery(mysql, query, "OnPlayerRegister", "d", playerid);