Brazzers-Development / brazzers-fakeplates

GNU General Public License v3.0
33 stars 15 forks source link

Issue with latest JBDev QB-Garages? #5

Open scarfoxed opened 1 year ago

scarfoxed commented 1 year ago

firefox_zsehal9ER5

Made sure to double check the code replaced, and checked to make sure QB-Core was up to date.

This happens when vehicle is parked with or without a fake plate.

scarfoxed commented 1 year ago

image here is my config for jbdevs qb-garage script also

DonPoedel commented 1 year ago

The issue is the parameter order in the function below. This should sort things out.

\qb-garages\client\main.lua:330

From: TriggerServerEvent('qb-garage:server:updateVehicle', 1, totalFuel, engineDamage, bodyDamage, properties, plate, garageName, Config.StoreParkinglotAccuratly and closestVec3 or nil, Config.StoreDamageAccuratly and GetCarDamage(veh) or nil)

To: TriggerServerEvent('qb-garage:server:updateVehicle', 1, totalFuel, engineDamage, bodyDamage, plate, properties, garageName, Config.StoreParkinglotAccuratly and closestVec3 or nil, Config.StoreDamageAccuratly and GetCarDamage(veh) or nil)