C0mBat1ve
Ученик
Дело в чем, вот запрос:
Вот ошибка Mysql_log:
Версия MySQL R33,хелп плс
Код:
new qry[800];
new query[800] = "INSERT INTO `accounts` (Name,Pass,Admin,Awarn,Sex,Model,Warns,Ajail,Banned,Mute,Hkeyo,Hkey,Hours,Cash,CashLess,Number,Age,Mail,Langa) VALUES (\'%s\',\'%s\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%d\',\'%s\',\'%d\')";
format(qry,sizeof(qry),query,n,pass,a,aw,sex,model,PlayerInfo[playerid][Warns],PlayerInfo[playerid][Ajail],PlayerInfo[playerid][Banned],PlayerInfo[playerid][Mute],PlayerInfo[playerid][Hkeyo],PlayerInfo[playerid][Hkey],PlayerInfo[playerid][Exp],PlayerInfo[playerid][Cash],PlayerInfo[playerid][CashLess],PlayerInfo[playerid][Pnumber],PlayerInfo[playerid][Mail],PlayerInfo[playerid][Age],PlayerInfo[playerid][Langa]);
Код:
[13:01:39] [ERROR] CMySQLQuery::Execute[SendQuery()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Dima_Superr','0','300')','','0','0','1','0','0','0','0','0','0','0','0','0','0',' at line 1
