Merge branch 'dev' into dev

This commit is contained in:
BerkieBb
2022-03-01 20:08:59 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -599,6 +599,9 @@ function QBCore.Functions.SetVehicleProperties(vehicle, props)
if props.fuelLevel then
SetVehicleFuelLevel(vehicle, props.fuelLevel + 0.0)
end
if props.oilLevel then
SetVehicleOilLevel(vehicle, props.oilLevel)
end
if props.dirtLevel then
SetVehicleDirtLevel(vehicle, props.dirtLevel + 0.0)
end
@@ -933,4 +936,4 @@ function QBCore.Functions.StartParticleOnEntity(dict, ptName, looped, entity, bo
end
end
return particleHandle
end
end