26.01.2014, 10:30
Ok changed all "mysql" variable with "mConnectionHandle", got a problem here:
Input line too long. Any tip to how run this long query?
After i fix this, i'll try the register/login.
pawn Код:
mysql_format(mConnectionHandle, query, sizeof(query), "INSERT INTO playerdata (user, password, Scores, Cash, Admin, Deaths, Nopm, Muted, Vip, Warn, RegisterDate, Jailed, AdminActions, Cookies, Rank, VipTime, Class, PrototypesStolen, KillAsUsaTeam, KillAsGermanyTeam, KillAsItalyTeam, KillAsJapanTeam, KillAsMercTeam, KillAsMexicoTeam, IP, DaysAlive) VALUES('%s', '%s', 0, 0, 0, 0, 0, 0, 0, 0, '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '%s', '0')", pname, PlayerInfo[Password], InsertTimeStamp(), IP);
mysql_tquery(mConnectionHandle, query, "", "");
After i fix this, i'll try the register/login.