> For the complete documentation index, see [llms.txt](https://mic-scripts.gitbook.io/mic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mic-scripts.gitbook.io/mic/documentation/drag-rope.md).

# Drag Rope

{% hint style="info" %}
💬 **Need help?** Support, updates and changelogs are on the [**Mic Scripts Discord**](https://discord.gg/86FPzAV73B). Open a ticket with your Tebex transaction ID and the console error.
{% endhint %}

<a href="https://discord.gg/86FPzAV73B" class="button primary">💬 Join the Discord</a> <a href="https://mic.tebex.io/" class="button secondary">🛒 Get it on Tebex</a>

{% embed url="<https://www.youtube.com/watch?v=tExZcYSLc38>" %}

**mic\_drag** gives your players a rope they can actually use. Take it out of the inventory, walk up to another player, and drag them behind you on a line with real rope physics — then tie that line to the back of a car and let the car do the pulling.

It is one inventory item, a rope prop that ships inside the resource, and an interaction that works through **ox\_target**, **qb-target** or plain 3D text. Nothing to import into the database beyond the item itself.

***

## Key features

* **A rope item** 🪢\
  Use `rope` to take the rope into your hand, use it again to put it away. The rope is never consumed.
* **Drag a player** 🚶\
  With the rope out, grab a nearby player on foot. They go limp on the end of the line, can not shoot, and can not be hurt while they are being dragged.
* **Tie them to a vehicle** 🚗\
  While dragging, tie the rope to a nearby vehicle. It anchors at the back of the car, and you can untie it back into your hand or let the player go from the vehicle itself.
* **Change the length live** 📏\
  Arrow Up and Arrow Down lengthen or shorten the rope while it is in use, between 1 m and 100 m by default. The player on the other end sees the same length.
* **Target or 3D text** 🎯\
  Pick `ox_target`, `qb-target` or `drawtext`. If the target you picked is not running, the rope falls back to 3D text on its own and switches back when the target starts.
* **A time limit, if you want one** ⏱️\
  Off by default. Switch it on and the rope breaks by itself after the number of seconds you choose.
* **An open bridge** 🧩\
  The framework, item and interaction code sits in `bridge/`, unescrowed, so a custom inventory or text UI is one file to change.

***

## What you need

| You need                                     | Why                                                                                                           |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| **ESX**, **QBCore** or **QBox**              | Registers the `rope` item and checks the player carries it. Chosen with `Config.Framework` (`qbcore` on QBox) |
| **A `rope` item** in your inventory          | Ready-made definitions for ox\_inventory, QBCore and ESX ship in `inventory/`                                 |
| **ox\_target** or **qb-target** *(optional)* | For the target menu. Without one, `drawtext` needs nothing                                                    |

No SQL of its own, no ox\_lib, no extra props resource — the rope prop streams from the resource's own `stream/` folder.

***

## Where to go next

| Page                                                                  | What is in it                                                   |
| --------------------------------------------------------------------- | --------------------------------------------------------------- |
| [🪛 Installation](/mic/documentation/drag-rope/installation.md)       | The folder, the item, the framework, and how you know it worked |
| [🎨 Customization](/mic/documentation/drag-rope/customization.md)     | Every option in `config.lua`, the labels, and the bridge files  |
| [🩺 Troubleshooting](/mic/documentation/drag-rope/troubleshooting.md) | The rope that will not come out, and the other usual suspects   |
