Installation

Installation

⚠️

Before asking support in Discord, as many tickets are due to ignoring certain steps in this guide, read the Common Issues tab on the left menu. Your issue might already be there.

Install steps

Downloading the File

Download the lc_fuel from this link: lc_fuel.zip

Downloading Dependency

Download the lc_utils dependency from this link: lc_utils.zip

Removing the Previous Fuel Script

Ensure the complete removal of your current fuel script from the resources folder.

Extracting Files

Extract the contents of lc_utils and lc_fuel scripts from the zip files into your resources folder.

Configuring the Scripts

Configure the framework settings in the lc_utils/config.lua file.

Whitelist Custom Props

As the script spawns custom props, make sure to whitelist them in your Anti Cheat or anywhere else if needed. They are prop_electric_01 and prop_eletricpistol.

Starting Resources

Start both resources at the bottom of your server.cfg file:

server.cfg
# your other resources above
ensure lc_utils
ensure lc_fuel
⚠️

The loading order matters! Ensure that the scripts are placed at the bottom of your server.cfg, as specified above.

Done

Setup is complete. Join your server, locate the gas station locations, and then press the 'E' key when near a pump to open the UI.

  • The script doesn't require SQL, it generates everything automatically
  • The table in your database will be called player_vehicles_fuel_type