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

# Pro Pad

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%2FiSgHzP4EO5VPDTmIEBx5%2Fce00f224-0b4f-4caa-a6a7-9dab92392c1e.png?alt=media&amp;token=31e9a95a-1f36-4aec-b2d0-3ecbd0a93519" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Pro Pad

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

{% step %}

### Install The Items & Images

```
Images Are Located Inside The Install Folder
```

```lua
['propad'] = {
    label = 'Pro Pad',
    weight = 1200,
    stack = false,
    close = true,
    consume = 0,
    description = 'A vehicle diagnostic and key programming tablet.',
    client = {
        export = 'shift-propad.useProPad'
    }
},
```

{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

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

Config = {}

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

-- auto, ox, framework, standalone
Config.Inventory = 'auto'

Config.Item = {
    name = 'propad',
    label = 'Pro Pad',
    requireItem = true,
    consumeOnSuccess = false,

    -- ox_inventory calls the client export from install/ox_inventory_item.lua.
    -- ESX/QB/Qbox usable item registration is handled automatically.
}

Config.Command = {
    enabled = false, -- Useful for testing or standalone servers.
    name = 'propad'
}

Config.Vehicle = {
    requireDriverSeat = true,
    requireEngineOff = false,
    closeWhenLeaving = true,

    -- Vehicle classes that cannot be programmed.
    -- 8 motorcycles, 13 cycles, 14 boats, 15 helicopters, 16 planes, 21 trains.
    blockedClasses = {
        [8] = true,
        [13] = true,
        [14] = true,
        [15] = true,
        [16] = true,
        [21] = true
    },

    -- Model hashes can be added here, for example: [`police`] = true
    blockedModels = {},

    -- Display-only estimated values by GTA vehicle class.
    classValues = {
        [0] = 18000, [1] = 26000, [2] = 34000, [3] = 30000,
        [4] = 42000, [5] = 52000, [6] = 78500, [7] = 145000,
        [9] = 42000, [10] = 55000, [11] = 48000, [12] = 32000,
        [17] = 65000, [18] = 72000, [19] = 90000, [20] = 70000
    }
}

Config.Security = {
    sessionSeconds = 180,
    playerCooldownSeconds = 30,
    vehicleSuccessCooldownSeconds = 900,
    failedLockoutSeconds = 180,
    maxDistanceFromVehicle = 8.0,
    maxAttempts = 3,

    -- Prevents a completed stage from being submitted unrealistically fast.
    minimumTimeTolerance = 0.72,

    -- Re-check possession of the Pro Pad at every server request.
    validateItemDuringSession = true,

    -- Stops programming when the configured key resource already says the player has keys.
    preventIfAlreadyHasKey = true
}

-- Difficulty is selected from the GTA vehicle class.
Config.ClassDifficulty = {
    [0] = 'easy',       -- Compacts
    [1] = 'easy',       -- Sedans
    [2] = 'standard',   -- SUVs
    [3] = 'standard',   -- Coupes
    [4] = 'standard',   -- Muscle
    [5] = 'advanced',   -- Sports Classics
    [6] = 'advanced',   -- Sports
    [7] = 'expert',     -- Super
    [9] = 'standard',   -- Off-road
    [10] = 'advanced',  -- Industrial
    [11] = 'standard',  -- Utility
    [12] = 'easy',      -- Vans
    [17] = 'advanced',  -- Service
    [18] = 'expert',    -- Emergency
    [19] = 'expert',    -- Military
    [20] = 'advanced'   -- Commercial
}

Config.Difficulties = {
    easy = {
        label = 'Basic',
        securityProfile = 'Keyless Security V2',
        baseAlarmChance = 12,
        wireChannels = 3,
        wireTime = 30,
        memoryLength = 4,
        memoryTime = 24,
        sequenceSpeed = 560,
        maxMistakes = 5,
        stageOneMinimumMs = 2200,
        stageTwoMinimumMs = 3200
    },
    standard = {
        label = 'Standard',
        securityProfile = 'Encrypted Keyless V3',
        baseAlarmChance = 24,
        wireChannels = 4,
        wireTime = 26,
        memoryLength = 5,
        memoryTime = 20,
        sequenceSpeed = 470,
        maxMistakes = 4,
        stageOneMinimumMs = 3000,
        stageTwoMinimumMs = 4200
    },
    advanced = {
        label = 'Advanced',
        securityProfile = 'Encrypted Keyless V4',
        baseAlarmChance = 38,
        wireChannels = 5,
        wireTime = 22,
        memoryLength = 6,
        memoryTime = 18,
        sequenceSpeed = 390,
        maxMistakes = 3,
        stageOneMinimumMs = 4000,
        stageTwoMinimumMs = 5200
    },
    expert = {
        label = 'Expert',
        securityProfile = 'Encrypted Keyless V5',
        baseAlarmChance = 55,
        wireChannels = 6,
        wireTime = 18,
        memoryLength = 7,
        memoryTime = 15,
        sequenceSpeed = 320,
        maxMistakes = 2,
        stageOneMinimumMs = 5000,
        stageTwoMinimumMs = 6500
    }
}

-- These options are intentionally server-controlled and are not shown in Settings.
Config.Minigames = {
    audioFeedback = true,
    sensitivity = 1.0, -- 0.5 to 2.0. Controls minigame input debounce/response.
    alarmIncreasePerFailedStage = 10,
    replayDelay = 650
}

Config.Keys = {
    -- auto, wasabi, qbx, custom, none
    system = 'auto',
    preventDuplicate = true
}

Config.Dispatch = {
    enabled = false,
    triggerOnFailedStage = true,
    triggerOnLockout = true,
    chanceMultiplier = 1.0,
    jobs = { 'police' }
}

Config.Logging = {
    enabled = true,
    webhook = '',
    botName = 'Shift Pro Pad',
    avatar = '',
    logStarted = true,
    logFailed = true,
    logSuccess = true
}

Config.Tablet = {
    animation = true,
    dictionary = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
    clip = 'idle_a',
    prop = `prop_cs_tablet`,
    bone = 60309,
    position = vec3(0.03, 0.002, -0.0),
    rotation = vec3(10.0, 160.0, 0.0)
}

Config.Notifications = {
    title = 'Pro Pad',
    noItem = 'You do not have a Pro Pad.',
    notInVehicle = 'You must be inside a vehicle.',
    driverOnly = 'You must be in the driver seat.',
    unsupportedVehicle = 'This vehicle cannot be programmed.',
    engineMustBeOff = 'Turn the engine off before connecting the Pro Pad.',
    alreadyHasKeys = 'You already have access to this vehicle.',
    vehicleCooldown = 'This vehicle security module is temporarily locked.',
    playerCooldown = 'The Pro Pad is cooling down. Try again shortly.',
    invalidSession = 'The programming session is no longer valid.',
    keyGranted = 'Vehicle key programming completed successfully.',
    keyFailed = 'The key resource rejected the programmed key.',
    leftVehicle = 'Connection lost because you left the vehicle.'
}

Config.Debug = false

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

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