[Release] Esx_Ocean Salvage Job

Hello, there they can see it I take the job and still see no points!

https://gyazo.com/85ad7df524c66c6e53762de9b955fa1f

It’s almost impossible to do the job! Oxygen is missing :o
Otherwise big thank you and gg to you for this script

You need Esx_scuba which is linked with the post, And thank you for your support

Ok i fixed it to get the bigger mask and also have more breath.
So with this changings you dont need to have esx_diving and can use the job out of the box cause you get it automaticly with your locker when in service.

we change the /client/main.lua

from:

           if data.current.value == 'job_wear' then
				onDuty = true
				CreateBlip()
                menu.close()
				ESX.ShowNotification(_U('take_service_notif'))
				ESX.ShowNotification(_U('start_job'))
				local playerPed = GetPlayerPed(-1)
				setUniform(data.current.value, playerPed)

				-- SetPedArmour(playerPed, 0)
				ClearPedBloodDamage(playerPed)
				ResetPedVisibleDamage(playerPed)
				ClearPedLastWeaponDamage(playerPed)
            end

to:

           if data.current.value == 'job_wear' then
				onDuty = true
				CreateBlip()
                menu.close()
				ESX.ShowNotification(_U('take_service_notif'))
				ESX.ShowNotification(_U('start_job'))
				local playerPed = GetPlayerPed(-1)
				setUniform(data.current.value, playerPed)

                --Set the Scuba Gear and the longer breathtime it will reset to normal again when go off service
				SetEnableScuba(GetPlayerPed(-1),true)
				SetPedMaxTimeUnderwater(GetPlayerPed(-1), 1500.00)

				-- SetPedArmour(playerPed, 0)
				ClearPedBloodDamage(playerPed)
				ResetPedVisibleDamage(playerPed)
				ClearPedLastWeaponDamage(playerPed)
            end

Then to receive the bigger mask we change the config.lua:

from:

Config.Uniforms = {

  job_wear = {
    male = {
        ['tshirt_1'] = 15, ['tshirt_2'] = 0,
		['torso_1'] = 243, ['torso_2'] = 5,
		['decals_1'] = 0, ['decals_2'] = 0,
		['arms'] = 8,     
		['pants_1'] = 94, ['pants_2'] = 0,
		['shoes_1'] = 67, ['shoes_2'] = 0,
		['glasses_1'] = 26, ['glasses_2'] = 0,
		['helmet_1'] = -1, ['helmet_2'] = 0,
		['chain_1'] = 0, ['chain_2'] = 0,
		['ears_1'] = -1, ['ears_2'] = 0
    },
    female = {
        ['tshirt_1'] = 1, ['tshirt_2'] = 0,
		['torso_1'] = 251, ['torso_2'] = 5,
		['decals_1'] = 0, ['decals_2'] = 0,
		['arms'] = 6,
		['pants_1'] = 97, ['pants_2'] = 5,
		['shoes_1'] = 70, ['shoes_2'] = 0,
		['glasses_1'] = 28, ['glasses_2'] = 0,
		['helmet_1'] = -1, ['helmet_2'] = 0,
		['chain_1'] = 0, ['chain_2'] = 0,
		['ears_1'] = -1, ['ears_2'] = 0
    }

To:

Config.Uniforms = {

  job_wear = {
    male = {
        ['tshirt_1'] = 15, ['tshirt_2'] = 0,
		['torso_1'] = 243, ['torso_2'] = 5,
		['decals_1'] = 0, ['decals_2'] = 0,
		--add the Scuba mask and set the glasses (small) mask to -1 ad off)
		['mask_1'] 		= 36, ['mask_2'] = 0,
		['arms'] = 8,     
		['pants_1'] = 94, ['pants_2'] = 0,
		['shoes_1'] = 67, ['shoes_2'] = 0,
		['glasses_1'] = -1, ['glasses_2'] = 0,
		['helmet_1'] = -1, ['helmet_2'] = 0,
		['chain_1'] = 0, ['chain_2'] = 0,
		['ears_1'] = -1, ['ears_2'] = 0
    },
    female = {
        ['tshirt_1'] = 1, ['tshirt_2'] = 0,
		['torso_1'] = 251, ['torso_2'] = 5,
		['decals_1'] = 0, ['decals_2'] = 0,
		['mask_1'] 		= 36, ['mask_2'] = 0,
		['arms'] = 6,
		['pants_1'] = 97, ['pants_2'] = 5,
		['shoes_1'] = 70, ['shoes_2'] = 0,
		['glasses_1'] = -1, ['glasses_2'] = 0,
		['helmet_1'] = -1, ['helmet_2'] = 0,
		['chain_1'] = 0, ['chain_2'] = 0,
		['ears_1'] = -1, ['ears_2'] = 0
    }

Have fun and enjoy the job without buying extra stuff to use it :slight_smile:

2 Likes

Thanks so much for sharing this! I was coming to the thread to beg for a solution to the clunky underwater breathing process :slight_smile:

Now if I can just figure out how to anchor the boat so it doesn’t float a mile away while working, the job will be top notch :slight_smile:

3 Likes

Thanks very much slug, I ended up finding that but have not installed it yet.

I have a question about the job, however. Hopefully someone can tell me what I’m doing wrong.

I changed clothes into the salvage job, grabbed a dinghy and did about 4 jobs. After that, I decided to wrap up and went back to the “depot” as instructed. I didn’t see any circle to turn the dinghy in so I jumped onto the dock and changed back into civilian clothes. No pay was awarded to me at all. Nothing for each job and nothing when I switched back into civvie clothes.

Could someone tell me what I’m doing wrong? What do I need to do to get the payment to be made?

Thanks for your time!

I don’t currently use this but I did however test it at one point. Once you return to the docks you should see a marker up by the building to sell ur items. I don’t think its labeled on the map but fairly close to the where you put your outfit on.

Hi slug, thanks for that. I wasn’t seeing it because I changed clothes.

I have a new problem, however :slight_smile: I went into the circle and sold my items but now the character is stuck in the “looking at clipboard” emote. I can’t seem to get him to move now.

Found this in the code:

TaskStartScenarioInPlace(playerPed, "WORLD_HUMAN_CLIPBOARD", 0, 1)

Anyone else have this problem and perhaps a solution to get me moving again? Perhaps I have to end the scenario in the code? I’ve commented it out for now just to get the player out of the sale process.

The circle is a greenish circle next to the bait shop on that pier, If you have any problems let me know.

Press any key to stop the command or add the hands sup command too stop the action

1 Like

nvm, did it myself.
Great release

cool love the script

hmm…am i missing something? Doesn’t seem to be adding blips for the pool locations. Get in the boat, press F10, get the message saying its been added but nothing shows on the GPS

I do see the blip show up very quickly then disappear

i have an issue when i press f10 inside to boat i cant see the market of the job can enyone help me with this? and when i leave the boat i have one yellow market but when i go there i cant do anything. thnx Screenshot_3

did it yourself how? I have same issue …

Thanks for this! When i downloaded the salvage job none of the code changes for Breath and Uniform were in it, i just pasted them from your comment, so I appreciate you going back and leaving this here.

I need assistance with 3 things:

  1. When selling salvaged items, unable to end the clipboard emote
  2. How can i add the scuba tank to the back of the player for the uniform
  3. How can i teleport playerped to dock after returning the boat

Thanks,
RP3

1 Like

Can see the jobb marker when pressing F10. If any one knows how to fix it plz tell me thx.