fuel move

This commit is contained in:
MrNewb committed 2025-01-09 07:48:20 -05:00
1 parent 6b09ae3050
commit b10d44c45b
9 files changed

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
Fuel = Fuel or {}
Fuel.GetFuel = function(vehicle)
if not DoesEntityExist(vehicle) then return 0.0 end
return GetVehicleFuelLevel(vehicle)
end
Fuel.SetFuel = function(vehicle, fuel, type)
if not DoesEntityExist(vehicle) then return end
return SetVehicleFuelLevel(vehicle, fuel)
end