[Release] [ESX] Esx_Petroleum

Esx_Petroleum

You have to get the Oil and then sell it!

Items:
-Petroleum
-Petroleum Gross

Installation

  1. Install Script
  2. Copy the project to your esx resource folder.
  3. Do not forget to import the database.sql file into your database.
  4. Add “start esx_petroleum” to your file server.cfg

Resource Required

Created by

Download - GitHub - jordann124/esx_petroleum: esx_petroleo You have to get the Oil and then sell it! Itens -Petroleum -Petroleum Gross

Download em [Português] - GitHub - jordann124/esx_petroleo: esx_petroleo Tens de apanhar o petroleo e vender como a vida real! Itens -Petroleo -Petroleo Bruto

Screenshots


Catch of Petroleum

Production Petroleum

Sell Petroleum

Good Luck !

7 Likes

any screenshots?

1 Like

already post :thinking:

Is this another go to the circle and stand job? Only ask because the screenshots look that way.

And in the refining picture is it take 2 gross and giving one back?

2 Likes

yes :laughing:

Do I have to work on a job to use this?

1 Like

no :zipper_mouth_face:

I guess this script not working.

what was the point in this one there all ready a base one using the truck.

Another rewrite of esx_drugs.
Same guy that made de esx_farmoranges, another idea he took from my server

Ideia tirada de tiper - amigo eu só faço aquilo que me pedem :grinning: e ele queria 1 script de petróleo obg

This isn’t a script it’s a poorly written version of esx_drugs.

amigo nem é so para veres -_-

go away man lol Jordan01 wanted to feel different and awesome haha

i think this is cool, but yeah. More work instead of stand and grind afk would be better.

umm it pointless shit the keep getting put on here like stupid other staff that was stop be the mods cause people kept doing it the script it self it not even upto standard he need to look the performance of it. it need to be fix and optimised

Is this script working?

I would not recommend it if it’s true that the script uses the old esx_drugs as the base.

if you need fix this open server folder main.lua in line 65
change and post this in same line
local function TransformKoda(source)

SetTimeout(Config.TimeToProcess, function()
	if PlayersTransformingKoda[source] then
		local xPlayer = ESX.GetPlayerFromId(source)
		local kodaQuantity = xPlayer.getInventoryItem('petroleum').count
		local pooch = xPlayer.getInventoryItem('petroleumgross')

		if pooch.limit ~= -1 and pooch.count >= pooch.limit then
			TriggerClientEvent('esx:showNotification', source, _U('nao_tens_petroleo_suficientes'))
		elseif kodaQuantity < 5 then
			TriggerClientEvent('esx:showNotification', source, _U('nao_tens_mais_petroleo'))
		else
			xPlayer.removeInventoryItem('petroleum', 1)
			xPlayer.addInventoryItem('petroleumgross', 1)

			TransformKoda(source)
		end
	end
end)

end

There is a problem with your release . When u go to process it you still have the petroleum in your inventori but no petroleumgroos, i tried to reverse them but the job stop working after that

how can i change the sell price ?