[ESX] esx_tk_gasstations - Player Owned Gas Stations & Fuel system

Can use gasoline items added?

Update 2.0.0:

  • You can now purchase and use jerry cans
  • You can change the max amount of gas stations a player can buy
  • Cleaned up the code

yo
how does it all work

I sent you a private message.

Works with legacy fuel?!?

I don’t see why you would need legacy fuel as this comes with a fuel system built in.

1 Like

how it works with heli? boats?

1 Like

Update 2.0.1

  • Fixed jerry can refueling in owned gas stations

Update 2.0.5

  • Added new export exports.esx_tk_gasstations:SetFuel(), set vehicle fuel level
  • Added new export exports.esx_tk_gasstations:GetFuel(), get vehicle fuel level

awe wish it was possible with standalone

Update 2.1.0

  • Bug fixes and other improvements
1 Like

any chance of a qbcore version of this?

I’m actually converting many of my scripts to QBCore at the moment so I might release a QB version of this one too in the upcoming days.

1 Like

sweet

QBCore version out now!

i use legacy fuel in order to use the refueling nozzles. also i use it to make service and utility vehicles have unlimited fuel. Also the gas is more expensive for certain vehicle categories than others. would i be able to do that with your script?

Hey! Currently you won’t be able to integrate refueling nozzles / legacy fuel with this script.

Update 2.1.1

  • Fixed Config.ShopBlip.UseBlip not working

Update 2.1.3

  • Added config options to disable gas station ownership transferring and selling

Update 2.1.4

  • Added function TruckSpawned(truck, tanker) to the editable client file
  • Changed ESX event to export

Update 2.1.5

  • Added a new config option Config.MenuAlign