08.11.2018, 13:04
Hello, exactly one hour I'm trying to fix this error, I've tried a lot of different options, but still the same..
Код:
GetPlayerPos(playerid, PropertyPos[0], PropertyPos[1], PropertyPos[2]); format(Query, sizeof(Query), "INSERT INTO `propertys` (ID, PosX, PosY, PosZ) VALUES ('%d', '%f', '%f, '%f')", PropertyID, PropertyPos[0], PropertyPos[1], PropertyPos[2]); mysql_query(Query);
Код:
CMySQLHandler::Query(INSERT INTO `propertys` (ID, PosX, PosY, PosZ) VALUES ('0', '-218.448944', '1093.840209, '19.600383')) - An error has occured. (Error ID: 1064, 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 '19.600383')' at line 1)