Bin am verzweifeln, was ist denn hier falsch? er zeigt mir sogar den Wert an, heißt das es doch richtig sein muss.
mysql_format(handle, query, sizeof(query), "INSERT INTO garage (X, Y, Z, ID, Kaufpreis, InteriorType, existiert, Lock) VALUES");
mysql_format(handle, query, sizeof(query), "%s ('%f','%f','%f','%d','%d','%d','%d','%d')"//query,........
http://prntscr.com/o5lawi
[16:06:41] [DEBUG] processing internal specifier 'c'
[16:06:41] [DEBUG] pushed value '1' onto AMX stack
[16:06:41] [DEBUG] processing internal specifier 's'
[16:06:41] [DEBUG] pushed value 'INSERT INTO garage (X, Y, Z, ID, Kaufpreis, InteriorType, existiert, Lock) VALUES ('775.807861','-1379.737549','13.651802','3','25825','1','1','1')' onto AMX stack
[16:06:41] [DEBUG] processing internal specifier 's'
[16:06:41] [DEBUG] pushed value '' onto AMX stack
[16:06:41] [DEBUG] processing internal specifier 's'
[16:06:41] [DEBUG] pushed value 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Lock) VALUES ('775.807861','-1379.737549','13.651802','3','25825','1','1','1')' at line 1' onto AMX stack
[16:06:41] [DEBUG] processing internal specifier 'c'