[Release] Esx_Aircargojob

I just forgot to install it :joy:
But now i have problem with location marks. After I picked up a package, script says to go to the next location, but thereā€™s no marker on the map.

if helicopter is broken i canā€™t spawn new helicopter

Could you send me a link on how to download the money system you have to have to download this?

Alright i would like to know the common issues everyone is getting from the aircargojob please

Script is awesome but defaut coordinates are bullshit xD (not every)
Completely random and sometimes hard accessible by heli lmao

Iā€™ll post fixed config file when Iā€™m done with it (if somebody is interested)
[already edited 94 out of 94] (I have no idea why after [60] coordinates are counted from [51]

Definitely share with the class if the coords are better.

The cords are modified for the custom ymaps that is in our server, was not aware this version was uploaded

So modification of the coords is required before use?

Correct

Okay, so here is my config file

  • Fixed coordinates and numeration

config.lua (6.2 KB)

  • Iā€™ve changed markers a bit for bigger and better (imo)

Here are client\main.lua changes:

  • Line 116
function displayMarker(coords)
	DrawMarker(1, -1121.01, -2842.20, 12.25 + 0.75, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 2.0, 2.0, 1.0, 15, 15, 255, 100, false, true, 2, false, false, false, false) 
	DrawMarker(1, -1128.67, -2838.66, 12.26 + 0.75, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 2.0, 2.0, 1.0, 15, 15, 255, 100, false, true, 2, false, false, false, false) 
end
  • Line 393
		if playerData.job ~= nil and playerData.job.name == "Heli" and onDuty and currentPlate ~= '' and playerIsInside(playerCoords, Config.carDelete, 100) then  		
			--displayMarker(Config.carDelete)
			DrawMarker(1, -1112.60, -2883.71, 12.25 + 0.75, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 10.0, 10.0, 1.0, 15, 15, 255, 100, false, true, 2, false, false, false, false)
		end	

And 346, 351, 361 just change decimals to whatever you want (bigger hitbox of markers)
I set 3.0, 3.0, 7.0

Uploading whole file just in case somebody want ready-to-go version (itā€™s translated for my language btw)

main.lua (13.0 KB)

After picking a cargo it doesnt not show destination, how to fix?

may I know how the pay is being calculated?i see random pay,but want to lower it

Config.pay = math.random(700,2080)

700 is min payout and 2080 is max, so its between those 2 numbers i would guess

i dont see any boxes

Hello all , right i am havng a small issue where all works perfectly , i can spawn the heli , i get the crate but when i get to the destination and i hover above the marker the box doesnā€™t disapear . Even detaching the box doesnā€™t work . I have tried modifiing the deleteobject funtion but no luck . Am i the only one with this probleme or are there others . And if yes any one got an idea to creat a fix ???

Ah found it out ā€¦ you have to fly over the marker and then press E

It seems to have a problem tracking distance between the player and the crate after latest artifacts (2803)ā€¦ Script wonā€™t let you to ā€œpick it upā€ and proceed to crate return.

i cant start this job. I got everything loaded. i cant find the locker room or anything else.

how do you start the job? there are no markers

1 Like