v5.1.62 patch
Vehicle storing fix with older qs-mechanic-creator, insurance repair fix and RGB xenon saved
3changes

Vehicle storing fix with older qs-mechanic-creator, insurance repair fix and RGB xenon saved
3changes

[02] Release
Vehicles can be stored again on servers running qs-mechanic-creator 2.0.9 or older, insurance claims deliver vehicles without broken doors, windows or tyres on QBCore and Qbox, and custom RGB xenon colours are saved with the vehicle.
Nothing to do in the database or the config.
Editable files changed. client/custom/framework/esx.lua and client/custom/framework/qb.lua were updated. If you edited them, merge the changes to GetVehiclePropertiesFramework and SetVehiclePropertiesFramework by hand instead of replacing the whole file.
qs-advancedgarages/fxmanifest.luaqs-advancedgarages/client/main.luaqs-advancedgarages/client/custom/framework/esx.luaqs-advancedgarages/client/custom/framework/qb.luaqs-advancedgarages/server/modules/insurance.luaThe xenon colour chosen in the qs-mechanic-creator tuneshop is saved with the vehicle and comes back when it is taken out of the garage, instead of returning to the stock colour.
Those versions lack the flatbed check that 5.1.61 started using, so storing always failed. The garages now work with every qs-mechanic-creator version. On older versions, a vehicle carrying another one (for example a flatbed with a car loaded) cannot be stored, so the loaded car is not lost.
The repaired vehicle no longer spawns with doors, bonnet, windows or tyres broken.