# Installation

## What do I need?

Use a supported framework or make it work with yours via the bridge folder.

[Ox Lib](https://github.com/overextended/ox_lib/releases/) (Required)

## Installation

:warning:Make sure you rename the folder from pickle\_airport-main to pickle\_airport prior to installing.​:warning:

If you miss this step the script will not function as expected.

Navigate to the "\_\_INSTALLATION" folder.

{% tabs %}
{% tab title="ESX Job" %}
Execute the SQL provided inside the \_\_INSTALLATION folder.
{% endtab %}

{% tab title="QBCore Job" %}
Navigate to the qb-core/shared/jobs.lua file.

Add the following code after the last job.

```
['airport'] = {
    label = 'Airport',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Recruit',
            payment = 0
        },
        ['1'] = {
            name = 'Pilot',
            payment = 0
        },
        ['2'] = {
            name = 'Lead Pilot',
            payment = 0
        },
        ['3'] = {
            name = 'Air-Traffic Controller',
            isboss = true, 
            bankAuth = true,
            payment = 0
        },
    },
},
```

{% endtab %}
{% endtabs %}

Ensure pickle\_airport inside your server.cfg. (I recommend putting all the Pickle scripts inside a folder such as \[pickle] and ensuring the folder. i.e. "ensure \[pickle]" )
