🔧 FuelSystem
Author: premysl_official
Version: 1.3
Language: English



📄 Requirements:

ScriptHook V
ScriptHookVDotNet 3 (nightly latest version)


📌 Installation:

1. Download and extract the archive.  
2. Choose your language version (ENG or PL).  
3. Copy all files to your Grand Theft Auto V/scripts/.  
4. Launch the game — you’re all set! 



⚙️ Configuration
You can customize the system by editing the `FuelSystem.ini` file:

- MaxFuel
- RefuelKey
- RefuelDelayMs
- FuelPricePerLiter
- MarkerDrawDistance
- FuelUsagePerSecond
- EnableLowFuelSound
- LowFuelThresholdPercent
- LowFuelSoundIntervalSeconds
- EnableDynamicPrices
- DynamicPriceUpdateIntervalMinutes
- ToggleBlipsKey

MaxFuel: This setting lets you define the maximum fuel capacity for a vehicle's tank. For example, if you set MaxFuel to 100, the vehicle can hold up to 100 units of fuel.

RefuelKey: This option allows you to specify the keyboard key that players need to press to start the refueling process.

RefuelDelayMs: This controls the delay, in milliseconds, before refueling actually begins after the RefuelKey is pressed. A higher value means a longer wait.

FuelPricePerLiter: With this, you set the base price of one liter (or unit) of fuel. This value is used, for instance, when dynamic pricing is disabled or as a base for calculations.

MarkerDrawDistance: This option determines the maximum distance at which fuel station markers will be visible to the player in the game world. If a player is further away than this distance, the marker won't be shown.

FuelUsagePerSecond: This defines how much fuel a vehicle consumes every second while it's in use. A higher value here means the vehicle will use fuel more quickly.

EnableLowFuelSound: You can now enable or disable the audible low fuel warning using the  (true/false) option.

LowFuelThresholdPercent: Set the percentage level at which the low fuel warning activates.

LowFuelSoundIntervalSeconds: Define how often the warning sound repeats.

EnableDynamicPrices: Players can now enable/disable dynamic pricing at gas stations using the (true/false) option.

DynamicPriceUpdateIntervalMinutes: If you choose to enable dynamic prices, you can set how often they change using the  integer.

ToggleBlipsKey: Added the ability to toggle gas station icons on the map and minimap.



