Shared

Get vehicle fuel amount

local fuel = Entity(vehicleId).state.fuel

Set vehicle fuel amount

Entity(vehicleId).state.fuel = fuelAmount