> For the complete documentation index, see [llms.txt](https://patamods.gitbook.io/patamods-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://patamods.gitbook.io/patamods-documentation/scripts/airplane-script/5-how-to-add-point-on-ui-map.md).

# 5・How to add point on UI map ?

##

## ⭐ How to add a new airport ?

First, you need to **add point in our UI.**

![:PataArrow:](https://cdn.discordapp.com/emojis/1072214922295001222.gif?size=44\&quality=lossless)Go to `Pata_Airflight\html`&#x20;

* Open the file `app.js`&#x20;
* At the top of the file, put the `DevMod` to `true`&#x20;
* Go to `Pata_Airflight\html` and open the `debug.js` file and put `true` the `var debug` at the top of the file&#x20;
* After that, restart the script<br>

![:PataArrow:](https://cdn.discordapp.com/emojis/1072214922295001222.gif?size=44\&quality=lossless)Now go to any Airflight ped previously added by our script

* Open the pata\_ariflight menu ingame.&#x20;
* Once you've opened the UI map, click where you want to add a marker.&#x20;
* 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))*

<img src="https://cdn.discordapp.com/emojis/1048588819651375235.gif?size=44&#x26;quality=lossless" alt=":1careful:" data-size="line"><mark style="color:red;">**Do not forget to put the**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`DevMod`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**and the**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`var debug`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**to**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`false`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**before using the script !**</mark> <img src="https://cdn.discordapp.com/emojis/1048588819651375235.gif?size=44&#x26;quality=lossless" alt=":1careful:" data-size="line">\
Restart your script after any modifications !&#x20;

![:PataArrow:](https://cdn.discordapp.com/emojis/1072214922295001222.gif?size=44\&quality=lossless)
