For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Read carefully to ensure you've done everything required.

What do I need?

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

Ox Lib (Required)

Installation

⚠️Make sure you rename the folder from pickle_airport-main to pickle_airport prior to installing.​⚠️

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

Navigate to the "__INSTALLATION" folder.

Execute the SQL provided inside the __INSTALLATION folder.

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
        },
    },
},

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]" )

Last updated