> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/new/editor-20.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Sky Diving

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2FO0Cwh2xmX6qMEyjaGPip%2Fc25fc343-171c-482a-b399-59659ae72e6c.png?alt=media&amp;token=3c432730-78f5-4609-8719-dd139debde6d" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Sky Diving

Read Everything Below To Install
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-skydiving In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

```lua
-- ⚫ ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ ⚫
-- ⬛ ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ ⬛
-- ⚫ ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ ⚫
-- ⬛ ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ ⬛
-- ⚫ ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ ⚫
-- ⬛ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ⬛

Config = {}

Config.Debug = false

-- auto, esx, qbcore, qbox, standalone
Config.Framework = 'auto'

Config.Systems = {
    -- auto, ox_target, qb-target, qtarget, custom, none
    Target = 'auto',

    -- If no configured target resource is running, players can interact through Text UI instead.
    TargetFallbackToTextUI = true,

    -- auto, ox_lib, qbcore, qbox, esx, okok, shift, custom
    Notification = 'auto',

    -- shift, ox_lib, qbcore, qbox, esx, custom
    TextUI = 'shift'
}

Config.Interface = {
    Title = 'Skydiving',
    Subtitle = 'Purchase Your Jump And Take To The Sky',
    DefaultPackageName = 'Standard Skydive',
    PaymentTitle = 'Payment Method',
    PurchaseButton = 'Purchase',
    CancelButton = 'Cancel',
    ReadySubtitle = 'Your Jump Is Ready',
    PurchaseCompleteTitle = 'Purchase Complete',
    PurchaseCompleteDescription = 'Your Jump Is Ready. Begin The Flight When You Are Ready.',
    BeginFlightButton = 'Begin Flight',
    ProcessingLabel = 'Processing...',

    -- dark, light
    DefaultTheme = 'dark',

    -- left, right
    DefaultSide = 'right',

    AllowThemeToggle = true,
    AllowSideToggle = true,

    -- Stores theme/side in the player's NUI local storage.
    RememberPreferences = true
}

Config.Payment = {
    Enabled = true,
    Price = 2500,
    DefaultMethod = 'bank',
    Methods = {
        { id = 'cash', label = 'Cash' },
        { id = 'bank', label = 'Bank' }
    },
    Reason = 'shift-skydiving',
    PurchaseCooldown = 1500,
    PendingPurchaseTimeout = 120000
}

Config.Parachute = {
    -- item = give the player a parachute inventory item (recommended/default)
    -- gadget = automatically equip the GTA parachute gadget when the flight begins
    -- both = give the inventory item and automatically equip the GTA parachute gadget
    Mode = 'item',
    Item = 'parachute',

    -- auto, ox_inventory, qb, esx, custom
    Inventory = 'auto',

    GadgetWeapon = 'GADGET_PARACHUTE'
}

Config.Interaction = {
    Distance = 2.5,
    ServerValidationDistance = 10.0,
    Key = 38, -- E
    Text = '[E] Talk To Skydiving Instructor'
}

Config.Handoff = {
    Enabled = true,
    Duration = 3500,

    -- Custom Shift Studios progress UI used across VIP / Laundering / Repair style resources.
    Title = 'Preparing Flight',
    Description = 'Getting Your Equipment And Aircraft Ready.',
    Cancelable = true,
    CancelLabel = 'Cancel',
    CompleteDisplayTime = 250,

    AnimDict = 'mp_common',
    PlayerAnim = 'givetake1_a',
    InstructorAnim = 'givetake1_b'
}

Config.Plane = {
    DefaultModel = 'luxor2',
    DefaultLabel = 'Luxor Deluxe',
    ForwardSpeed = 75.0,
    LandingGearState = 3,
    Seat = -1,
    FadeOutTime = 800,
    FadeHoldTime = 800,
    FadeInTime = 800,
    DespawnAfterExit = true,
    DespawnDelay = 5000,
    MaximumLifetime = 300000
}

Config.Blip = {
    Enabled = true,
    Sprite = 94,
    Color = 3,
    Scale = 0.6,
    Name = 'Skydiving'
}

Config.Ped = {
    DefaultModel = 's_m_m_pilot_02',
    DefaultScenario = 'WORLD_HUMAN_CLIPBOARD'
}

Config.Notifications = {
    Title = 'Shift Skydiving',
    Duration = 4000,
    Position = 'top',

    PurchaseApproved = 'Your Skydiving Purchase Was Approved.',
    PurchaseCancelled = 'Skydiving Purchase Cancelled.',
    PurchaseExpired = 'Your Skydiving Purchase Expired. Please Purchase Again.',
    NotEnoughMoney = 'You Do Not Have Enough Money For This Skydive.',
    TooFar = 'You Are Too Far Away From The Skydiving Instructor.',
    InvalidLocation = 'That Skydiving Location Is Not Available.',
    InvalidPayment = 'That Payment Method Is Not Available.',
    AlreadyPending = 'You Already Have A Purchased Jump Ready.',
    PleaseWait = 'Please Wait Before Trying Again.',
    ParachuteReceived = 'A Parachute Was Added To Your Inventory.',
    ParachuteFailed = 'Your Parachute Could Not Be Added To Your Inventory.',
    PreparationCancelled = 'Skydiving Preparation Cancelled.',
    PlaneFailed = 'The Aircraft Could Not Be Prepared.',
    JumpReady = 'You Are In The Plane. Jump Whenever You Are Ready.'
}

-- Each location can override packageName, description, price, planeModel, planeLabel,
-- pedModel, scenario, blip, paymentMethods, and interaction text.
Config.Locations = {
    {
        coords = vec4(-1155.2062, -2715.0999, 19.8873, 242.9076),
        name = 'Los Santos Airport',
        packageName = 'Standard Skydive',
        description = 'Get geared up by the instructor, board the aircraft, and jump whenever you are ready.',
        interaction = 'Talk To Skydiving Instructor',

        planeSpawn = vec4(-1112.55, -3065.33, 850.0, 330.0),
        planeModel = 'luxor2',
        planeLabel = 'Luxor Deluxe'
    }
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
