Skip to content

Commit

Permalink
Merge branch 'main' into discord
Browse files Browse the repository at this point in the history
  • Loading branch information
Cocodrulo authored Nov 26, 2024
2 parents c61baba + 12eefc3 commit 4e741bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function QBCore.Functions.SetVehicleProperties(vehicle, props)
SetVehicleEngineHealth(vehicle, props.engineHealth + 0.0)
end
if props.tankHealth then
SetVehiclePetrolTankHealth(vehicle, props.tankHealth)
SetVehiclePetrolTankHealth(vehicle, props.tankHealth + 0.0)
end
if props.fuelLevel then
SetVehicleFuelLevel(vehicle, props.fuelLevel + 0.0)
Expand All @@ -575,7 +575,7 @@ function QBCore.Functions.SetVehicleProperties(vehicle, props)
SetVehicleDirtLevel(vehicle, props.dirtLevel + 0.0)
end
if props.oilLevel then
SetVehicleOilLevel(vehicle, props.oilLevel)
SetVehicleOilLevel(vehicle, props.oilLevel + 0.0)
end
if props.color1 then
if type(props.color1) == 'number' then
Expand Down

0 comments on commit 4e741bd

Please sign in to comment.