mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Fixed the saving of liveries
This commit is contained in:
@@ -403,7 +403,7 @@ QBCore.Functions.GetVehicleProperties = function(vehicle)
|
|||||||
modTrimB = GetVehicleMod(vehicle, 44),
|
modTrimB = GetVehicleMod(vehicle, 44),
|
||||||
modTank = GetVehicleMod(vehicle, 45),
|
modTank = GetVehicleMod(vehicle, 45),
|
||||||
modWindows = GetVehicleMod(vehicle, 46),
|
modWindows = GetVehicleMod(vehicle, 46),
|
||||||
modLivery = GetVehicleLivery(vehicle)
|
modLivery = GetVehicleMod(vehicle, 48),
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
@@ -681,4 +681,4 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
|
|||||||
SetVehicleLivery(vehicle, props.modLivery)
|
SetVehicleLivery(vehicle, props.modLivery)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user