[Release] Esx_Aircargojob

roleplay
server
airplanes
#21

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.

0 Likes

#22

if helicopter is broken i can’t spawn new helicopter

0 Likes

#23

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

0 Likes

#24

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

0 Likes

#25

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]

0 Likes

#26

Definitely share with the class if the coords are better.

0 Likes

#27

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

0 Likes

#28

So modification of the coords is required before use?

0 Likes

#29

Correct

0 Likes

#30

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)

0 Likes