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

# Physical Therapy

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%2FONY67aoCA96RuPFJvlcC%2F5813700a-d407-40d0-92e4-066da542eb35.png?alt=media&amp;token=307ed3f0-a702-4afe-b65e-aab9e4ebebd1" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Physical Therapy

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-therapy In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

You Can Configure Your Discord Logs In server/config.discord.lua

{% code expandable="true" %}

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

Config = {}

Config.Debug = false

Config.Target = {
    icon = 'fa-solid fa-user-doctor',
    label = 'Physical Therapy',
    distance = 2.0
}

Config.UI = {
    title = 'Physical Therapy',
    treatmentName = 'Crutch Removal',
    treatmentDescription = 'Get assistance from a certified therapist.',
    serviceTag = 'One-Time Treatment',
    defaultSide = 'right',       -- 'left' or 'right'; each player can change this in the UI
    defaultTheme = 'dark',       -- 'dark' or 'light'; each player can change this in the UI
    allowCustomization = true
}

Config.Progress = {
    duration = 8000,            -- milliseconds
    label = 'Removing Your Crutch...',
    description = 'Treatment In Progress',
    canCancel = true
}

Config.DistanceCheck = {
    client = 3.0,
    server = 6.0
}

Config.Cooldown = 10 -- seconds, starts AFTER successful payment/authorization

Config.Payment = {
    enabled = true,
    price = 25000,
    methods = {
        cash = true,
        bank = true
    }
}

-- Default: ox_lib notifications at center-left. Switch provider if preferred.
-- Supported: 'ox_lib', 'esx', 'qb', 'okok', 'mythic', 'custom'.
Config.Notifications = {
    provider = 'ox_lib',
    position = 'center-left',
    duration = 3500,
    customEvent = '',            -- used only with provider='custom', event(data)
    showStartingNotice = false   -- progress NUI already describes the treatment
}

Config.Blips = {
    enabled = false,
    sprite = 61,
    color = 2,
    scale = 0.8,
    shortRange = true
}

Config.PedAnim = {
    dict = 'mini@repair',
    clip = 'fixing_a_player',
    flag = 49
}

Config.PlayerAnim = {
    enabled = true,
    dict = 'missfam5_yoga',
    clip = 'i_yogapose_c',
    flag = 49
}

Config.Notify = {
    noCrutch =      { title = 'Physical Therapy', description = 'You Do Not Have A Crutch To Remove.', type = 'error' },
    removing =      { title = 'Physical Therapy', description = 'Your Treatment Has Started.', type = 'inform' },
    success =       { title = 'Physical Therapy', description = 'Your Crutch Has Been Removed.', type = 'success' },
    canceled =      { title = 'Physical Therapy', description = 'Crutch Removal Canceled.', type = 'error' },
    tooFar =        { title = 'Physical Therapy', description = 'You Moved Too Far From The Therapist.', type = 'error' },
    noMoneyCash =   { title = 'Physical Therapy', description = 'You Do Not Have Enough Cash.', type = 'error' },
    noMoneyBank =   { title = 'Physical Therapy', description = 'You Do Not Have Enough Money In Your Bank.', type = 'error' },
    cooldown =      { title = 'Physical Therapy', description = 'Please Wait Before Starting Another Treatment.', type = 'error' },
    dependency =    { title = 'Physical Therapy', description = 'A Required Resource Is Not Running.', type = 'error' },
    invalid =       { title = 'Physical Therapy', description = 'Unable To Complete Treatment Right Now.', type = 'error' },
    busy =          { title = 'Physical Therapy', description = 'A Treatment Is Already In Progress.', type = 'error' }
}


Config.Peds = {
    {
        name = 'Pillbox Physical Therapy',
        model = 's_m_m_doctor_01',
        coords = vec4(295.5826, -591.5067, 43.2588, 71.5294),
        scenario = 'WORLD_HUMAN_CLIPBOARD',
        blip = false
    },
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

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