26.07.2012, 19:09
Are you sure connection is alive and properly set up? Check with mysql_ping (if alive) and mysql_errno (if error occurs). Show us MySQL_Login function.
Also for now change
Also for now change
pawn Код:
format(Query, sizeof(Query), "INSERT INTO `playerdata` (User, Password, Cash, Level, EXP, Rank, TurfsCaptured, TurfsLost, Kills, Deaths, Score, Muted, Warnings, Vip, IP) VALUES('%s', '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '%s')", EscName,EscPass, IP);
//to
format(Query, sizeof(Query), "INSERT INTO `playerdata` (`User`, `Password`, `IP`) VALUES('%s', '%s', '%s')", EscName, EscPass, IP);