Hello guys anyone knows how to fix this? When I write /givecar id carname it says this in tx admin live console


script:oxmysql] SCRIPT ERROR in promise (unhandled rejection): Error: esx_givevehicle was unable to execute a query!
[ script:oxmysql] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stored) VALUES (‘82ca892912f46307209696d2d7a4b452ea0a3852’, ‘LII 331’, ‘{"modAP’ at line 1
[ script:oxmysql] INSERT INTO owned_vehicles (owner, plate, vehicle, type, stored) VALUES (?, ?, ?, ?, ?) [“82ca892912f46307209696d2d7a4b452ea0a3852”,“LII 331”,“{“modAPlate”:-1,“modStruts”:-1,“modDial”:-1,“modEngineBlock”:-1,“tyreSmokeColor”:[255,255,255],“xenonColor”:255,“tankHealth”:1000.0,“extras”:{“8”:true,“7”:true,“2”:true,“9”:true,“1”:true},“modGrille”:-1,“modTransmission”:-1,“modFrontBumper”:-1,“model”:788747387,“modHood”:-1,“windowTint”:-1,“plate”:“LII 331”,“modTrimB”:-1,“modOrnaments”:-1,“neonEnabled”:[false,false,false,false],“engineHealth”:1000.0,“color1”:0,“modSpeakers”:-1,“modSuspension”:-1,“modDoorSpeaker”:-1,“modSmokeEnabled”:false,“modVanityPlate”:-1,“modBrakes”:-1,“modExhaust”:-1,“modRightFender”:-1,“modDoorR”:-1,“wheelColor”:156,“modFrame”:-1,“modFender”:-1,“modWindows”:-1,“modAerials”:-1,“modShifterLeavers”:-1,“modHydrolic”:-1,“modRoof”:-1,“modXenon”:false,“modFrontWheels”:-1,“modAirFilter”:-1,“modTank”:-1,“color2”:0,“modLivery”:-1,“modSideSkirt”:-1,“modEngine”:-1,“modDashboard”:-1,“plateIndex”:4,“modLightbar”:-1,“dirtLevel”:9.0,“modHorns”:-1,“neonColor”:[255,0,255],“modArmor”:-1,“wheels”:0,“modPlateHolder”:-1,“modSpoilers”:-1,“modTrunk”:-1,“modSteeringWheel”:-1,“pearlescentColor”:5,“modRearBumper”:-1,“fuelLevel”:100.0,“modTurbo”:false,“bodyHealth”:1000.0,“modSeats”:-1,“modBackWheels”:-1,“modArchCover”:-1,“modTrimA”:-1}”,“car”,1]
[ script:oxmysql] > (@oxmysql/dist/build.js:22275)
[ script:oxmysql] > processTicksAndRejections (node:internal/process/task_queues:96)
[ script:oxmysql]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.