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
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)
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