Closed C4RM3L0-TH1NG5 closed 9 months ago
I added fix here look at the end of coments here https://github.com/qbcore-framework/qb-garages/issues/329#issuecomment-1884116813
Oh great, I didn't pay attention to that. It took 3 hours nearly to figure it out.
Describe the bug I noticed that the fuel value is being randomised while taking out the vehicle from the garage or depot.
To Reproduce
Expected behavior
Additional context The error is in "qb-garages:client:takeOutGarage". I fixed the problem by changing > "exports[Config.FuelResource]:SetFuel(veh, data.vehicle.fuel)" To this > "exports[Config.FuelResource]:SetFuel(veh, data.stats.fuel)"