> For the complete documentation index, see [llms.txt](https://docs.space101.store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.space101.store/product-guides/standalone-winch-script.md).

# Standalone Winch Script

## Step 1 - Installation

To get started, you'll need to download your new resource previously purchased from our [`store`](https://space101.store/). For that, you must login with your account on [`keymaster`](https://keymaster.fivem.net/asset-grants/) and look for the Asset Grants section, there we will find our script.

<figure><img src="https://dunb17ur4ymx4.cloudfront.net/packages/images/5ce3821549f98c3ba45617fd825005806e9fce39.png" alt="https://space101.tebex.io/package/5729631"><figcaption></figcaption></figure>

## Step 2 - Configuration

1. **Debug mode:** If you want to see extra information for troubleshooting, change `Config.Debug` to `true`. If not, set it to `false`.
2. **Maximum rope length:** You can decide how long the rope can be by changing `Config.MaxLengthRope` to a different number. In the example, it's set to 19.0.
3. **Resynchronization frequency:** This determines how often the rope gets synchronized. You can change it by modifying `Config.ResyncRopeFrenquency`. The example has it set to 10000, which means every 10 seconds. **(We Recommend Not Changing This)**
4. **Valid models:** This part defines the models that can be used for the rope. It shows one model called `sof250`. For each model, there are three things you can change:
   * `ropeBone`: This is the part of the object the rope attaches to. In this case, it's set to "engine".
   * `ropeOffset`: It determines how far the rope is from the attachment point. In the example, it's set to (0.0, 0.94, -0.80).
   * `ropeDistanceTake`: This sets how much the rope can be stretched by the player. In the example, it's set to 1.5.
5. **Hook model:** This specifies the model used for the hook. You can change it by modifying `Config.HookModel`. The current value is 'prop\_rope\_hook\_01'.

Compatible models:

* [2021 Off-road Law Enforcement Truck](https://space101.store/products/offroad-truck-package)
* [2021 Fire Utility/Lifeguard Truck](https://space101.store/products/2021-fire-utility-lifeguard-truck)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.space101.store/product-guides/standalone-winch-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
