Files
community_bridge/modules/fuel/BigDaddy-Fuel/client.lua
T
2025-02-07 19:29:23 +00:00

13 lines
371 B
Lua

if GetResourceState('BigDaddy-Fuel') ~= 'started' then return end
Fuel = {}
Fuel.GetFuel = function(vehicle)
if not DoesEntityExist(vehicle) then return 0.0 end
return exports['BigDaddy-Fuel']:GetFuel(vehicle)
end
Fuel.SetFuel = function(vehicle, fuel)
if not DoesEntityExist(vehicle) then return end
exports['BigDaddy-Fuel']:SetFuel(vehicle, fuel)
end