# Installation

## Installation

### 1. Download Resource

Download the purchased resource from [**CFX Portal**](https://portal.cfx.re/assets/granted-assets) - the official site of FiveM with purchased resources.

***

### 2. Install Required Dependencies

This script needs a few extra resources to work properly.\
Below you will find a list of things to download - click the link, download and upload to your server just like other resources.

<table data-full-width="false"><thead><tr><th width="251">Resource</th><th data-type="content-ref">Download Link</th></tr></thead><tbody><tr><td><strong>es_extended</strong></td><td><a href="https://github.com/ESX-Official/es_extended">https://github.com/ESX-Official/es_extended</a></td></tr><tr><td><strong>ox_lib</strong> </td><td><a href="https://github.com/overextended/ox_lib">https://github.com/overextended/ox_lib</a></td></tr><tr><td>Your mechanic job (Default)</td><td><a href="https://github.com/StockholmCityRP/esx_mecanojob">https://github.com/StockholmCityRP/esx_mecanojob</a></td></tr></tbody></table>

***

### 3. Environment Requirements### Introduction of door functionality

Go to your **server.cfg** and add:

```nginx
# Dependencies
ensure es_extended    # ESX framework
ensure ox_lib         # Shared utility library (UI, callbacks, helpers)

ensure esx_mecanojob    # Default mechanic job (compatible with any mechanic-type job)

# RX Resources
ensure RX_NPC_Mecano

# RX Resources OpenSource
ensure RX_NPC_MecanoOpenSource  # If using the open-source version
```

Ensure there are no syntax errors or incorrect paths in your `server.cfg`.


---

# 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://rx-developpement.gitbook.io/rx_developpement-docs/assets/rx_npc_mecano-and-opensource/installation.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.
