> 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/old-free/editor-7.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# No Fall

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%2FrqnhZzAEizKE22444t3p%2Fno%20fall.png?alt=media&amp;token=c9a34866-47b4-4d2a-b2e8-57ace627c978" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### No Fall

Read Everything Below To Install
{% endstep %}

{% step %}

### Ensure All Dependencies Are Installed

```
No Dependencies Needed
```

{% endstep %}

{% step %}

### Drag & Drop

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

{% step %}

### Ensure The Resource

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

{% step %}

### Configure The Resource

{% code expandable="true" %}

```lua
-- 💠 ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ 💠
-- 🔷 ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ 🔷
-- 🌀 ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ 🌀
-- 🔹 ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ 🔹
-- 💎 ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ 💎
-- 🔵 ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ 🔵

Config = {}

-- Resource behavior
Config.Debug = false

-- The script itself is framework-independent. This setting is only used to
-- help the automatic notification bridge choose a framework notification.
-- Supported: 'auto', 'standalone', 'esx', 'qb', 'qbox'
Config.Framework = 'auto'

Config.Command = {
    enabled = true,
    name = 'nofall',
    aliases = { 'fallhelp' }, -- Set to {} if you do not want legacy aliases.
}

Config.Keybind = {
    enabled = true,
    command = 'nofall', -- Must match a registered command above.
    description = 'Return To Safe Ground',
    mapper = 'keyboard',
    key = 'F1',
}

Config.Cooldown = {
    enabled = true,
    duration = 5000, -- milliseconds
}

Config.Recovery = {
    -- Number of ground checks before falling back to the last known safe position.
    attempts = 10,
    initialSearchHeight = 50.0,
    searchHeightStep = 50.0,
    waitBetweenAttempts = 50, -- milliseconds
    groundOffset = 1.0,

    -- If ground detection fails, use a position cached while the player was safely standing.
    useLastSafePosition = true,
    safePositionOffset = 0.15,

    -- Set false if you only ever want to move the player ped.
    -- When true, the player's current vehicle is recovered with them when possible.
    recoverVehicle = true,
}

Config.SafePosition = {
    enabled = true,
    updateInterval = 1500, -- milliseconds
    onlyWhenStoppedFalling = true,
}

-- Spawn recovery in the old resource always moved the player to detected ground.
-- That can break apartment/MLO/upper-floor spawns, so it is OFF by default now.
Config.SpawnRecovery = {
    enabled = false,
    delay = 1500, -- milliseconds after playerSpawned
}

-- Optional emergency protection for servers where players occasionally fall far under the map.
-- Disabled by default to avoid interfering with custom underground maps/interiors.
Config.AutoRecovery = {
    enabled = false,
    checkInterval = 1000, -- milliseconds
    minimumZ = -100.0,
    cooldown = 5000, -- milliseconds between automatic recovery attempts
}

Config.Notifications = {
    enabled = true,

    -- Supported: 'auto', 'ox_lib', 'qb', 'qbox', 'esx', 'okok', 'custom', 'native', 'none'
    -- 'auto' tries supported resources/frameworks and safely falls back to GTA native notifications.
    provider = 'ox_lib',

    duration = 4500,
    position = 'center-left', -- Used by providers that support positions.

    -- Individually disable notification categories without disabling all notifications.
    show = {
        recovered = true,
        cooldown = true,
        failed = true,
        spawnRecovered = false,
        autoRecovered = true,
    },

    messages = {
        recovered = {
            title = 'Safety',
            description = 'You are now on solid ground.',
            type = 'success',
        },
        cooldown = {
            title = 'Cooldown',
            description = 'Please wait %ss before using this again.',
            type = 'error',
        },
        failed = {
            title = 'Safety',
            description = 'A safe position could not be found.',
            type = 'error',
        },
        spawnRecovered = {
            title = 'Safety',
            description = 'Your spawn position was recovered.',
            type = 'success',
        },
        autoRecovered = {
            title = 'Safety',
            description = 'You were moved back to a safe position.',
            type = 'success',
        },
    },

    -- Used when provider = 'custom'. Return true when your notification was handled.
    -- This makes the resource compatible with any notification resource without editing client.lua.
    custom = function(data)
        -- Example:
        -- exports['your-notify']:Notify(data.title, data.description, data.type, data.duration)
        -- return true
        return false
    end,
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

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