check my latest fork of scrapman job, GitHub - Tuna-Terps/Scrapman-job: OverTrue RolePlay scrapman-job
Np problem I will upload tunas update as soon as I can.
yes i get the notification i also see the blip as soon as i pick up scrap. you sell it as normal, you just don’t get the money credited.
we use esx 1.6.5 but not sure
no i only get the notification when i pick up the scrap when i hand it in the item disappears and nothing happens.
Ok as soon as possible I will update the script again…
In the few days I will try to do that.
thanks for sharing!
Thank you as soon as possible I will update the script only for esx option.
What framework are you using?
And tell me if you have any problems.
im using qbus and it works fine for me
Haha ok so it’s working nice , did you use the new version from my GitHub?
yea i did
It look very nice. Awesome developer bro.
qbcore* yes, there is a difference
Seems like it’s working on qb mate from what I hear.
Try to replace the existing event with this code(the old event):
RegisterServerEvent('scrapjob:scrap:sell')
AddEventHandler('scrapjob:scrap:sell', function()
local _source = source
local xPlayer = ESX.GetPlayerFromId(source)
local scrapQuantity = xPlayer.getInventoryItem('scrap').count
local addmoney = math.random(20, 50) -- change here the price of the scrap sell
if scrapQuantity >= 1 then
xPlayer.removeInventoryItem('scrap', 1)
xPlayer.addMoney(addmoney)
TriggerClientEvent("pNotify:SendNotification", source, {
text = "you sold a scrap type for <b style=color:#1588d4>" .. addmoney .. " <b style=color:#d1d1d1> keep working</b>",
type = "success",
queue = "lmao",
timeout = 7000,
layout = "Centerleft"
})
elseif scrapQuantity then
TriggerClientEvent("pNotify:SendNotification", source, {
text = "you dont have any scrap type",
type = "success",
queue = "lmao",
timeout = 7000,
layout = "Centerleft"
})
end
end)
Let me know if you need help.
Hello there i have installed the Job but i dont see a Blip when i go to the Coord is there nothing.
It lokks like the Job is not started. Any solution for me?
Hi, do you mean that you don’t see the markers on the ground?
Hi there is no npc no maker on the ground no Blip on the map and i cant collect Scrap.
In txAdmin Liveconsole no error an in Game f8 console no error from the script.