v4.1.0
- Added automatic msk_fuel support: the garage now shows the real tank volume (e.g. 50 / 65 L) as configured in msk_fuel
- msk_garage auto-detects whether msk_fuel is running and switches the display accordingly (percentage without msk_fuel)
- Fuel is now read/written as exact liters via the msk_fuel exports (fixes wrong fuel value in UI and in the owned_vehicles database)
- Added Config.FuelTankDefaultVolume (max-volume denominator for stored vehicles without a per-model override)
- Migrated owned_vehicles.fuel from TINYINT to SMALLINT (auto on start) so tanks larger than 100 L are stored without being capped
- Park-out locking now uses the vehicle-keys script's lock export (e.g. msk_vehiclekeys) instead of a raw SetVehicleDoorsLocked, keeping the keys script's lock state in sync
Changed files
config/settings.lua
server/main.lua
server/vehicles.lua
client/nui.lua
client/vehicles.lua
web/src/components/FuelBar.tsx
html/**