fuels folder fix

This commit is contained in:
MrNewb committed 2025-03-04 22:03:49 -05:00
1 parent 7e9f0df74a
commit a759e9c27b
14 files changed
+1 -168

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
if GetResourceState('ps-fuel') ~= 'started' or (BridgeClientConfig.Fuel ~= "ps-fuel" and BridgeClientConfig.Fuel ~= "auto") then return end
--if GetResourceState('ps-fuel') ~= 'started' then return end
Fuel = Fuel or {}
Fuel.GetFuel = function(vehicle)
if not DoesEntityExist(vehicle) then return 0.0 end
return exports['ps-fuel']:GetFuel(vehicle)
end
Fuel.SetFuel = function(vehicle, fuel, type)
if not DoesEntityExist(vehicle) then return end
return exports['ps-fuel']:SetFuel(vehicle, fuel)
end