Fuel Heist [ESX+QB]


The script is partly encrypted using FiveM Escrow

Fuel heist is a script which will allow your players to load up a huge liquid tank onto their pickup truck which will be used to steal gasoline from gas stations. Huge amounts of it as once. Due to the amounts being so high police will instantly be alarmed about the theft. Thiefs must then make their way to their intel which will tell them where to drop off the stolen fuel to get paid. The vehicle carrying the fuel will be more difficult to control due to the high weight of the carried fuel (Vehicle handling gets adjusted. Brakes are weaker and vehicle tends to flip on fast turns) After the player brings the fuel to the specified drop off location they will be rewarded. (Reward can be higher depending on the amount of officers being in-game at the time)

Buy here

  • ESX & QB support
  • Highly optimized code
  • High configurability through the config file
  • Support for dispatch systems: ps-dispatch, core-dispatch, cd-dispatch
  • Built in police dispatch system (if none of the above mentioned systems are in use)
  • Fuel tanks on the trucks are synced between the players. Making the thief easy to spot by the law enforcement
  • All gas stations in-game may be hit (Configurable)
  • Many different drop off points chosen at random each time
  • Vehicle handling changes depending on the amount of fuel being transported
  • Higher reward when more police officers are active * Any fuel tanks that spawn in game can be put on the pickup trucks
  • All vehicles that can fit the liquid tank can be used

Buy here

Config FIle

Code is accessible Partly
Subscription-based No
Lines (approximately) 1000
Requirements ESX or QB
Support No/small
6 Likes

Really cool idea and usage of props!

3 Likes

Thanks :grin:

2 Likes

say we have a a script handling gas station ownership, and their levels (actually has different types too, ti_fuel).

Would this allow you to deplete those gas stations that are owned of their gas?

3 Likes

Sadly, wouldn’t be possible

1 Like

Is the part for the props coords etc escrow?
Thinking it would be cool if I could implement so people can refuel their vehicles from this tank for free but gets less money when delivered to the destination.

5 Likes

They already would get less money when delivered, to get the prop you could use

local nearest = GetClosestObjectOfType(playerCoords, 15.0, GetHashKey('prop_watercrate_01'), false, 0, 0)

local percentage = Entity(nearest).state.ln_fuel

(This is how its done in one of the editable files for selling logic)

Then pass the prop netId to the server and do

Entity(tank).state.ln_fuel = Entity(tank).state.ln_fuel - amount

To decrease the amount of fuel in the tank subsequently reducing the reward players would receive from selling it

3 Likes

I don’t seem to get it working.

Could you please elaborate?