2026-04-14 17:41:39 +02:00

19 lines
484 B
Lua

if Config.Fuel ~= 'okokGasStation' then
return 100.0
end
function SetFuel(vehicle, fuelLevel)
local success, error = pcall(function()
exports['okokGasStation']:SetFuel(vehicle, fuelLevel)
end)
if not success then
Debug('You did not configure your fuel system and it is set to 100.0 in fuel, check in Config.Fuel')
return 100.0
end
end
function GetFuel(vehicle)
return exports['okokGasStation']:GetFuel(vehicle)
end