# Claim Purchase

#### **Step 1: Downloading the Script**

1. Log in to your **FiveM** account: [https://portal.cfx.re](https://portal.cfx.re/)
2. Go to the **Purchased Assets** section.
3. Locate the script you purchased and click **Download**. This will save a `.zip` file containing the script to your computer.

***

#### **Step 2: Extracting the Files**

1. Locate the downloaded `.zip` file (usually found in your Downloads folder).
2. Right-click the file and select **Extract All...** or use extraction software like WinRAR, 7-Zip, or similar.
3. Choose a destination folder (e.g., Desktop or a dedicated scripts folder) and extract the files.

***

#### **Step 3: Adding the Script to Your Server**

1. Open your FiveM server directory and navigate to the `resources` folder.
2. Copy the extracted script folder into the `resources` folder. Ensure the folder name does not contain spaces or special characters.

***

#### **Step 4: Configuring the Script (if needed)**

1. Open the script folder and look for configuration files, often named `config.lua`, `config.json`, or similar.
2. Edit these files using a text editor (e.g., Notepad++) to customize the script settings to your preferences.

***

#### **Step 5: Adding the Script to Your Server.cfg**

1. Open your server’s `server.cfg` file in a text editor.
2. Add the following line at the end of the file:

   ```plaintext
   ensure script-name
   ```

   Replace `[script-name]` with the exact name of the folder you added to the `resources` directory.

**Example:**

```plaintext
ensure cylex_animmenuv2
```

***

#### **Step 6: Starting Your Server**

1. Save the changes to your `server.cfg` file.
2. Restart your server using your hosting panel or local command prompt.
3. The script should now be running on your server!

***

#### **Troubleshooting**

* If the script does not work, check the server console for errors and ensure all required dependencies are installed.
* For further assistance, refer to the documentation provided with the script or contact support via the our [**Discord**](https://discord.gg/cylexstore).

Enjoy your new script, and thank you for choosing Cylex STORE!


---

# Agent Instructions: 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:

```
GET https://cylexdev.gitbook.io/docs/claim-purchase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
