Skip to content

A functionality fuel system based off of PS-Fuel that uses PolyZones that target fueling pumps and vehicles to allow you to refuel your vehicle, as well as interact-sound to play accurate refueling sounds, Syphoning, Jerry Cans and more! Converted by NoobySloth & RijayJH

License

Notifications You must be signed in to change notification settings

NoobySloth/cdn-fuel-ox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codine Development Fuel Script Banner

cdn-fuel

A NoPixel inspired functionality fuel system based off of ps-Fuel that uses PolyZones that target fueling pumps and vehicles to allow you to refuel your vehicle, as well as interact-sound to play accurate refueling sounds.

Major Credits

Major shoutout to the Project Sloth team. We based this script off of their wonderful ps-fuel script. We wanted to change it up a little bit, but ended up doing a lot more than originally planned, so we though we'd release this on it's own rather than PR things. (https://github.com/Project-Sloth/ps-fuel)

Dependencies:



Codine Development Fuel Script Install Banner

Begin your installation

Here, we shall provide a step-by-step guide on installing cdn-fuel to your server and making it work with other scripts you may already have installed.

Step 1:

First, we will start by renaming the resource "cdn-fuel-main" to just "cdn-fuel". Next, we will drag the "cdn-fuel" resource into your desired folder in your servers resources directory.

step 1

Step 2:

Next, we're going to drag the sounds from the "sounds" folder in cdn-fuel, into your interact-sounds folder located at "resources/[standalone]/interact-sound/client/html/sounds"

step 2

Step 3:

Lastly, we're going to open our entire resources folder in whichever IDE you use, (we will be using Visual Studio Code for this example) and replace all of your current exports titled "LegacyFuel", "ps-fuel" or "lj-fuel", with "cdn-fuel". Then you want to ensure cdn-fuel in your servers config file.

step 3



Codine Development Fuel Script Features Banner

Some features to mention within this cdn-fuel:

  • Show all gas station blips (found in shared/config.lua)
  • Vehicle blowing up chance percent (found in shared/config.lua)
  • Global tax and fuel prices (found in shared/config.lua)
  • Target eye for all actions
  • Menu estimating cost for vehicle being refueled (tax included)
  • Fuel Nozzle prop and realistic fueling animation
  • Added sounds when taking and replacing fuel nozzle, as well as refueling
  • Select amount of fuel you want to put in your vehicle
  • Option to pay cash or with your bank


Codine Development Fuel Script Showcase Banner

Demonstration of the script

Here's a video showcasing the script in action!

Click Here to Watch the Video!



Codine Development Fuel Script Future Plans banner

Future Plans

  • Add support for electric vehicles. (include mapping for electric chargers)
  • Add back in support for jerry cans
  • Send suggestions in our discord server!


Codine Development Links Banner

Codine Links

Credits:

Massive shoutout once again to the team at Project Sloth! (https://github.com/Project-Sloth) They create super sick scripts that have changed the game when it comes to fivem server development. This script is based off of thier ps-fuel script. (https://github.com/Project-Sloth/ps-fuel)

About

A functionality fuel system based off of PS-Fuel that uses PolyZones that target fueling pumps and vehicles to allow you to refuel your vehicle, as well as interact-sound to play accurate refueling sounds, Syphoning, Jerry Cans and more! Converted by NoobySloth & RijayJH

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%