Код:
[19:56:41] [Warning] db_query: Query failed: near "0": syntax error
[19:56:41] [Error] db_free_result(): invalid result handle 0
[19:56:41] CREATE TABLE IF NOT EXISTS `char_vehicles`
[19:56:41] CREATE TABLE IF NOT EXISTS `char_vehicles` (
[19:56:41] `pv0PosX` FLOAT DEFAULT 0.0, `pv0PosY` FLOAT DEFAULT 0.0, `pv0PosZ` FLOAT DEFAULT 0.0, `pv0PosAngle` FLOAT DEFAULT 0.0, `pv0ModelId` INTEGER DEFAULT 0, `pv0Lock` INTEGER DEFAULT 0, `pv0Locked` INTEGER DEFAULT 0, `pv0PaintJob` INTEGER DEFAULT 0, `pv0Color1` INTEGER DEFAULT 0, `pv0Color2` INTEGER DEFAULT 0, `pv0Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv0Fuel` FLOAT DEFAULT 100.00, `pv0Impound` INTEGER DEFAULT 0, `pv0Plate` STRING DEFAULT NULL, `pv0EZPass` INTEGER DEFAULT 0, `pv0TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv1PosX` FLOAT DEFAULT 0.0, `pv1PosY` FLOAT DEFAULT 0.0, `pv1PosZ` FLOAT DEFAULT 0.0, `pv1PosAngle` FLOAT DEFAULT 0.0, `pv1ModelId` INTEGER DEFAULT 0, `pv1Lock` INTEGER DEFAULT 0, `pv1Locked` INTEGER DEFAULT 0, `pv1PaintJob` INTEGER DEFAULT 0, `pv1Color1` INTEGER DEFAULT 0, `pv1Color2` INTEGER DEFAULT 0, `pv1Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv1Fuel` FLOAT DEFAULT 100.00, `pv1Impound` INTEGER DEFAULT 0, `pv1Plate` STRING DEFAULT NULL, `pv1EZPass` INTEGER DEFAULT 0, `pv1TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv2PosX` FLOAT DEFAULT 0.0, `pv2PosY` FLOAT DEFAULT 0.0, `pv2PosZ` FLOAT DEFAULT 0.0, `pv2PosAngle` FLOAT DEFAULT 0.0, `pv2ModelId` INTEGER DEFAULT 0, `pv2Lock` INTEGER DEFAULT 0, `pv2Locked` INTEGER DEFAULT 0, `pv2PaintJob` INTEGER DEFAULT 0, `pv2Color1` INTEGER DEFAULT 0, `pv2Color2` INTEGER DEFAULT 0, `pv2Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv2Fuel` FLOAT DEFAULT 100.00, `pv2Impound` INTEGER DEFAULT 0, `pv2Plate` STRING DEFAULT NULL, `pv2EZPass` INTEGER DEFAULT 0, `pv2TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv3PosX` FLOAT DEFAULT 0.0, `pv3PosY` FLOAT DEFAULT 0.0, `pv3PosZ` FLOAT DEFAULT 0.0, `pv3PosAngle` FLOAT DEFAULT 0.0, `pv3ModelId` INTEGER DEFAULT 0, `pv3Lock` INTEGER DEFAULT 0, `pv3Locked` INTEGER DEFAULT 0, `pv3PaintJob` INTEGER DEFAULT 0, `pv3Color1` INTEGER DEFAULT 0, `pv3Color2` INTEGER DEFAULT 0, `pv3Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv3Fuel` FLOAT DEFAULT 100.00, `pv3Impound` INTEGER DEFAULT 0, `pv3Plate` STRING DEFAULT NULL, `pv3EZPass` INTEGER DEFAULT 0, `pv3TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv4PosX` FLOAT DEFAULT 0.0, `pv4PosY` FLOAT DEFAULT 0.0, `pv4PosZ` FLOAT DEFAULT 0.0, `pv4PosAngle` FLOAT DEFAULT 0.0, `pv4ModelId` INTEGER DEFAULT 0, `pv4Lock` INTEGER DEFAULT 0, `pv4Locked` INTEGER DEFAULT 0, `pv4PaintJob` INTEGER DEFAULT 0, `pv4Color1` INTEGER DEFAULT 0, `pv4Color2` INTEGER DEFAULT 0, `pv4Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv4Fuel` FLOAT DEFAULT 100.00, `pv4Impound` INTEGER DEFAULT 0, `pv4Plate` STRING DEFAULT NULL, `pv4EZPass` INTEGER DEFAULT 0, `pv4TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv5PosX` FLOAT DEFAULT 0.0, `pv5PosY` FLOAT DEFAULT 0.0, `pv5PosZ` FLOAT DEFAULT 0.0, `pv5PosAngle` FLOAT DEFAULT 0.0, `pv5ModelId` INTEGER DEFAULT 0, `pv5Lock` INTEGER DEFAULT 0, `pv5Locked` INTEGER DEFAULT 0, `pv5PaintJob` INTEGER DEFAULT 0, `pv5Color1` INTEGER DEFAULT 0, `pv5Color2` INTEGER DEFAULT 0, `pv5Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv5Fuel` FLOAT DEFAULT 100.00, `pv5Impound` INTEGER DEFAULT 0, `pv5Plate` STRING DEFAULT NULL, `pv5EZPass` INTEGER DEFAULT 0, `pv5TicketReason` STRING DEFAULT NULL,
[19:56:41] `pv6PosX` FLOAT DEFAULT 0.0, `pv6PosY` FLOAT DEFAULT 0.0, `pv6PosZ` FLOAT DEFAULT 0.0, `pv6PosAngle` FLOAT DEFAULT 0.0, `pv6ModelId` INTEGER DEFAULT 0, `pv6Lock` INTEGER DEFAULT 0, `pv6Locked` INTEGER DEFAULT 0, `pv6PaintJob` INTEGER DEFAULT 0, `pv6Color1` INTEGER DEFAULT 0, `pv6Color2` INTEGER DEFAULT 0, `pv6Ticket` INTEGER DEFAULT 0,
[19:56:41] `pv6Fuel` FLOAT DEFAULT 100.00, `pv6Impound` INTEGER DEFAULT 0, `pv6Plate` STRING DEFAULT NULL, `pv6EZPass` INTEGER DEFAULT 0, `pv6TicketReason` STRING DEFAULT NULL
Forgot to print out the ) and don't mind the print out for CREATE TABLE being printed out twice, I glued it up all together and no error was found