Fixed mod liveries, thanks to Chubbs

This commit is contained in:
ElPumpo
2019-01-01 18:34:13 +01:00
parent 452243e8c2
commit 5e35663c95
+2 -1
View File
@@ -703,7 +703,7 @@ ESX.Game.GetVehicleProperties = function(vehicle)
modTrimB = GetVehicleMod(vehicle, 44),
modTank = GetVehicleMod(vehicle, 45),
modWindows = GetVehicleMod(vehicle, 46),
modLivery = GetVehicleMod(vehicle, 48)
modLivery = GetVehicleLivery(vehicle)
}
end
@@ -947,6 +947,7 @@ ESX.Game.SetVehicleProperties = function(vehicle, props)
if props.modLivery ~= nil then
SetVehicleMod(vehicle, 48, props.modLivery, false)
SetVehicleLivery(vehicle, props.modLivery)
end
end