02.11.2010, 16:08
You need to format the query:
And no need for the ' around integers, they are only needed for strings.
pawn Код:
new Query[150];
format(Query, 150, "INSERT INTO `users` (`Name`, `Password`, `Admin`, `Money`, `Score`, `Language`) VALUES ('%s', '%s', 0, 10000, 0, 0)", PlayerInfo[playerid][pName], udb_hash(inputtext));
mysql_query(Query);