Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.
Зарегистрироваться!Обратите пожалуйста внимание на самое начало лога)Приветствую, установите плагин crashdetect и еще раз прикрепите сервер лог
Выдаёт ошибкуnew string[700], string1[500];
format(string, sizeof(string), "UPDATE `ownable` SET \
`Model` = '%d', `Sell_X` = '%.4f', `Sell_Y` = '%.4f', `Sell_Z` = '%.4f', `Sell_A` = '%.4f', \
`Pos_X` = '%.4f', `Pos_Y` = '%.4f', `Pos_Z` = '%.4f', `Pos_A` = '%.4f', `Color_1` = '%d', \
`Color_2` = '%d', `Owner` = '%s', `Keyer` = '%s', `Shtrafer` = '%d', `Number` = '%s', \
`Cost` = '%d', `Lock` = '%d', `Shtraf` = '%d', `KeyIN` = '%d', \
`AlarmON` = '%d', `Milage` = '%f', WHERE `ID` = '%d'",
[ERROR] CMySQLQuery::Execute - (error #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 'WHERE `ID` = '1'' at line 1 (Query: "UPDATE `ownable` SET `Model` = '400', `Sell_X` = '738.3880', `Sell_Y` = '-1438.1700', `Sell_Z` = '13.1639', `Sell_A` = '180.2790', `Pos_X` = '738.3880', `Pos_Y` = '-1438.1700', `Pos_Z` = '13.1639', `Pos_A` = '180.2790', `Color_1` = '1', `Color_2` = '1', `Owner` = 'The State', `Keyer` = 'The State', `Shtrafer` = '0', `Number` = 'SA', `Cost` = '30000', `Lock` = '0', `Shtraf` = '0', `KeyIN` = '0', `AlarmON` = '0', `Milage` = '0.000000', WHERE `ID` = '1'")
UPDATE `ownable` SET `Model` = '400', `Sell_X` = '738.3880', `Sell_Y` = '-1438.1700', `Sell_Z` = '13.1639', `Sell_A` = '180.2790', `Pos_X` = '738.3880', `Pos_Y` = '-1438.1700', `Pos_Z` = '13.1639', `Pos_A` = '180.2790', `Color_1` = '1', `Color_2` = '1', `Owner` = 'The State', `Keyer` = 'The State', `Shtrafer` = '0', `Number` = 'SA', `Cost` = '30000', `Lock` = '0', `Shtraf` = '0', `KeyIN` = '0', `AlarmON` = '0', `Milage` = '0.000000' WHERE `ID` = '1'
Данил, не так просто.SQL:UPDATE `ownable` SET `Model` = '400', `Sell_X` = '738.3880', `Sell_Y` = '-1438.1700', `Sell_Z` = '13.1639', `Sell_A` = '180.2790', `Pos_X` = '738.3880', `Pos_Y` = '-1438.1700', `Pos_Z` = '13.1639', `Pos_A` = '180.2790', `Color_1` = '1', `Color_2` = '1', `Owner` = 'The State', `Keyer` = 'The State', `Shtrafer` = '0', `Number` = 'SA', `Cost` = '30000', `Lock` = '0', `Shtraf` = '0', `KeyIN` = '0', `AlarmON` = '0', `Milage` = '0.000000' WHERE `ID` = '1'
format(string, sizeof(string), "UPDATE `ownable` SET \
`Model` = '%d', `Sell_X` = '%.4f', `Sell_Y` = '%.4f', `Sell_Z` = '%.4f', `Sell_A` = '%.4f', \
`Pos_X` = '%.4f', `Pos_Y` = '%.4f', `Pos_Z` = '%.4f', `Pos_A` = '%.4f', `Color_1` = '%d', \
`Color_2` = '%d', `Owner` = '%s', `Keyer` = '%s', `Shtrafer` = '%d', `Number` = '%s', \
`Cost` = '%d', `Lock` = '%d', `Shtraf` = '%d', `KeyIN` = '%d', \
`AlarmON` = '%d', `Milage` = '%f' WHERE `ID` = '%d'",