Loading...

Fuel Script V - Crash Fix 1.1

644ffe fuelscriptv hero

41

Fuel Script V - Crash Fix v1.1

A drop in replacement DLL for Sakis25's Fuel Script V Mod. The original 1.0.3 release (last updated October 2021, abandoned for 4+ years) has a small but mean logic bug where the refuel prompt locks out exactly when you need it most.

This package replaces only FuelScript.dll. The original FuelScript.ini is fully compatible: keep yours, or use the included unchanged copy.

The bug fixed

RobPol surfaced this on May 22, 2025:
"i have moeny but i cant refuel becouse i have no money. when i drive with low fuel car drive more in reverse than normaly"

The "have money but can't refuel" half traces to FuelScript.Main.onTick line 306 of the decompile:

if (currentCar.Speed < 1f && currentFuel > 5f && !refillCar)

That currentFuel > 5f guard means the "Press horn to refuel" prompt only displays when your tank is ABOVE 5%. If you drove your fuel below 5 (exactly when you most need a gas station), the prompt vanished. With no way to trigger the refuel state, the script couldn't deduct money or refill the tank, so the player perception was "I have money but can't refuel".

Fix in v1.1:

if (currentCar.Speed < 1f && currentFuel < 100f && !refillCar)

Now the prompt displays for any non-full tank. You can roll to a stop at the pumps with 1% fuel and the refuel option appears as expected.

The "drives faster in reverse" half is a GTA V engine quirk (low-power states give reverse gear more relative torque), not a fuel-mod bug. Not addressed here.

Bonus stability

Wrapped onTick in a try/catch. Single-tick exceptions print a brief orange recovery ticker instead of letting SHVDN abort the entire script for the session.

Contents
FuelScript.dll - patched script (drop in /scripts, replaces original)
FuelScript.ini - unchanged from v1.0.3 (keep your customized one if you have one)
README.txt + CHANGELOG.txt

Requirements
ScriptHookV
ScriptHookVDotNet 2 or 3
NativeUI in your /scripts folder (per Sakis25's original requirements)

Installation
1. Install Sakis25's original Fuel Script V first if you haven't already (deps + ini).
2. Replace FuelScript.dll in your /scripts folder with the one from this package.
3. Optional: replace FuelScript.ini, or keep your customized one. Schema unchanged.
4. Launch the game. Fuel bar appears above the minimap as usual.

Verify the fix
1. Drive your car until fuel is critically low (under 5%).
2. Pull up to any gas station, fully stop.
3. You should see "Press horn to refuel your vehicle" with your cash and the cost.
4. Hold the horn until the tank fills. Cash deducted only when tank is full.

In the original v1.0.3 the prompt would NOT appear at step 3 when fuel was below 5%. With v1.1 it does.

Credits this release
RobPol (May 22, 2025 "have money but can't refuel" bug report)

Original mod: https://www.gta5-mods.com/scripts/fuel-script-v-sakis25 by Sakis25.
Show Full Description

First Uploaded: 3 dnevi
Last Updated: okoli 3 ure
Last Downloaded: manj kot ena minuta

All Versions

 1.1 (current)

41 downloads , 8 KB
3 dnevi

0 Comments