Skip to content

xDope7137/ND_Fuel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ND_Fuel

ND Fuel Script for qb-core

This is a modified version of ND Fuel script for qb-core with Jerry Can support.

Open issue for any feature requests or issues obviously.

Original Creator : https://github.com/Andyyy7666

QB-Hud integration:

Go to qb-hud/client.lua replace line 632 from

  • lastFuelCheck = math.floor(exports['LegacyFuel']:GetFuel(vehicle))

to

  • lastFuelCheck = math.floor(exports['ND_Fuel']:GetFuel(vehicle))

reaplce edit line 798 from

if exports['LegacyFuel']:GetFuel(GetVehiclePedIsIn(ped, false)) <= 20 then -- At 20% Fuel Left

to

if exports['ND_Fuel']:GetFuel(GetVehiclePedIsIn(ped, false)) <= 20 then -- At 20% Fuel Left

About

ND Fuel Script for qb-core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •