This commit is contained in:
2026-07-07 21:08:52 +02:00
commit 4c20cfc716
2613 changed files with 318021 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
if not Config.Disable.Vehicle then
if GetResourceState("LegacyFuel") == "started" then
function HUD:FuelExport()
return ESX.Math.Round(exports["LegacyFuel"]:GetFuel(HUD.Data.Vehicle), 2)
end
else
function HUD:FuelExport()
return ESX.Math.Round(GetVehicleFuelLevel(HUD.Data.Vehicle), 2)
end
end
end