#LC Fuel - 1.2

6 messages · Page 1 of 1 (latest)

zealous tigerBOT
#

<@&1345793223229968446>

Update Changelog

Script: LC Fuel
Version: 1.2.0

Changelog
  1. Added customizable fuel tank capacities: configurable by vehicle class or individual vehicle;
  2. Added a command /fuel_chart command to display a real-time Fuel Consumption Chart showing fuel level, speed, and consumption rate of your current vehicle;
  3. Improved refund logic: refund amounts when returning the nozzle with leftover fuel are now rounded to prevent floating point issues;
  4. Fixed a bug where the maximum recharge input could accept excessively large numbers;
  5. Fixed the alternate getFuel export not returning a value correctly;
  6. Removed unnecessary exports declarations from the fxmanifest;
  7. Refined UI design with small visual adjustments for better user experience;
Files Changed
  • All files have been changed, including lang and config files;
  • New configs added Config.FuelConsumptionChart and Config.FuelTankSize;
broken jungle
zealous tigerBOT
#

<@&1345793223229968446>

Patch Changelog

Script: LC Fuel
Version: 1.2.1

Changelog
  1. Added a debug tool to assist in configuring nozzle position for custom vehicles (Config.DebugNozzleOffset);
Files Changed
  • config.lua (new config added Config.DebugNozzleOffset);
  • client/client.lua;
  • client/client_refuel.lua;
  • nui/panel.js;
  • version;
broken jungle
zealous tigerBOT
#

<@&1345793223229968446>

Patch Changelog

Script: LC Fuel
Version: 1.2.2

Changelog
  1. Fixed an issue where returning the nozzle did not subtract money from the gas station owner's balance;
  2. Fixed a bug that prevented recharging vehicles with batteries larger than 100 kWh;
Files Changed
  • lang folder;
  • nui/panel.js;
  • server/server.lua;
  • version;
zealous tigerBOT
#

<@&1345793223229968446>

Patch Changelog

Script: LC Fuel
Version: 1.2.3

Changelog
  1. Improved the positioning of the "Press E to interact" message;
  2. Added the /fuel_type command to display the current fuel type of the vehicle;
  3. Added the SetFuelType export to allow changing the vehicle's fuel type from other scripts;
  4. Added a config option to choose whether to save the fuel type of all vehicles (including NPCs) or only player-owned vehicles in the database;
Files Changed
  • client/client.lua;
  • client/client_fuel_type.lua;
  • client/client_refuel.lua;
  • config.lua;
  • fxmanifest.lua;
  • lang folder;
  • server/server.lua;
  • version;