[Release] Esx_Ocean Salvage Job

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.

So i fixed everything, updated und cleaned up in this script. But I didn’t found the problem why after starting the “show” no blip will shown me. Someone here who has fixed it?

I SEE THE BLIP FOR 1 SEC THEN ITS GONE…

Please notice README - its not my stuff!

  1. Press X to end emote (which would be hands up script)
  2. Its already built in
  3. The dock is right there

the shipwreck has been highlighted on your GPS doesn’t work. can you fix the script?

added TR lang.

Please check my pull request for your github repo.

Can this be edited to be a public “job” where anyone can do to make money?

2 Likes

Anyone can use this as a bug,When he start the mission if he found the yellow blip so far he will click “M” to turn it off and he will turn it again to see the new direction. :Until he find near place:

Can you make like if someone stop the mission he can’t turn on except after 150 seconds?

Not sure

function StopNPCJob(cancel)
	if Blips['NPCTargetPool'] ~= nil then
		RemoveBlip(Blips['NPCTargetPool'])
		Blips['NPCTargetPool'] = nil
	end

	OnJob = false

	if cancel then
		ESX.ShowNotification("wait 20sec to cancel")
		Citizen.Wait(20000) --time to wait
		ESX.ShowNotification(_U('cancel_mission'))
	else
		TriggerServerEvent('esx_oceansalvage:GiveItem')
		StartNPCJob()
		Done = true
	end
end

You can let everyone work together without a job

I was wondering if it was possible to make this job to an activity without a setjob . So if someone can help me and say to me what i should to change in the code please . Thanks !

1 Like

ok so this works pretty good so far but i still cant set the ped to get the big diving tank on his back i tried esx_diving as well and changed the config but it doesnt add it.

also when u get off duty the yellow blip stays

How can you have infinite oxigen ? i last like 10 sec underwater and die. Tnx

EDIT : FIXED ! Thanks to @UltraTM !

1 Like


In this link you can see a bottle of oxygen as it could be implemented in this script?

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,
			['bags_1'] = 43, ['bags_2'] = 2,
			['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
		}

	}

}

What reference would I have to put here to assign the oxygen bottle?

the id according to the vMenu is 124 but as I assign in config.lua?

Please help

How to fix please? i have same problem.

someone knows how to put an oxygen gauge that fits you

1 Like

Yes how did you fix it?

im looking for the same :slight_smile:

I found a Solution!!

Check here : [Release] [ESX] clothesmerfik | put on/take off your clothes - #59 by manolo2106

firstly great script !

I need some help, how do i make this a public activity instead of job ? so all player can do diving despite his main job is police etc, or unemployed ?
much appreciate