5・How to add point on UI map ?
⭐ How to add a new airport ?
First, you need to add point in our UI.
Go to
Pata_Airflight\html
Open the file
app.js
At the top of the file, put the
DevMod
totrue
Go to
Pata_Airflight\html
and open thedebug.js
file and puttrue
thevar debug
at the top of the fileAfter that, restart the script
Now go to any Airflight ped previously added by our script
Open the pata_ariflight menu ingame.
Once you've opened the UI map, click where you want to add a marker.
Now the UI coords (to add a point on it) are added to your f8
So open your f8 and check the coord that you get inside it's written like "Mouse location XX,XX"
After that, follow all the step inside any AirportData config file (copy/paste a CAYO.lua for exemple, rename it by your airport name, and change all the coords inside this file (all are explained inside don't worry))
Do not forget to put the
DevMod
and the var debug
to false
before using the script !
Restart your script after any modifications !
Last updated