11.01.2012, 09:13
Lock is a reserved word, i believe this is your problem. This is why its considered good practice to surround column and table names with ` and `. You should definitely get in the habit of doing that.
Код:
INSERT INTO `vehicles` (`Model`, `Owner`, `Locked`, `Lock`, `Alarm`, `Insurance`, `Color1`, `Color2`, `Plate`, `vX`, `vY`, `vZ`, `Owned`) VALUES (%d, '%s', 0, 0, 0, 1, 0, 0, '%s', 1182.9319, -1324.0872, 13.5783, 1)