06.02.2011, 01:06
I've no idea whats wrong here.
pawn Код:
format(query, sizeof(query), "INSERT INTO `teleports` (SQLid, pos_x, pos_y, pos_z, int, vw, topos_x, topos_y, topos_z, toint, tovw) VALUES (null, %f, %f, %f, %d, %d, %f, %f, %f, %d, %d)", \
pos_x, pos_y, pos_z, int, vw, topos_x, topos_y, topos_z, toint, tovw);
Код:
Error (0): Could not execute query. 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 'int, vw, topos_x, topos_y, topos_z, toint, tovw) VALUES (null, 246.446166, 87.42' at line 1.