# Installation

## Installation Process

{% stepper %}
{% step %}
**Check requirements**

Before installing the script, verify that your server meets the following requirements:

<table data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><strong>OneSync:</strong> Infinity</td></tr><tr><td align="center"><strong>Artifacts:</strong> v7290+</td></tr></tbody></table>
{% endstep %}

{% step %}
**Dependencies**

This script requires the following dependencies to function properly:

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><i class="fa-link">:link:</i> anx_bridge</td><td><a href="https://github.com/anx-scripts?tab=repositories">https://github.com/anx-scripts?tab=repositories</a></td></tr><tr><td align="center"><i class="fa-link">:link:</i> oxmysql</td><td><a href="https://github.com/overextended/oxmysql/releases/latest">https://github.com/overextended/oxmysql/releases/latest</a></td></tr><tr><td align="center"><i class="fa-link">:link:</i> ox_lib</td><td><a href="https://github.com/overextended/ox_lib/releases/latest">https://github.com/overextended/ox_lib/releases/latest</a></td></tr></tbody></table>

{% hint style="warning" %}
Make sure to add all dependencies to your `server.cfg` file and place them **before** this script in the load order.
{% endhint %}
{% endstep %}

{% step %}
**Download the script**

1. Head over to [Cfx.re Portal](https://portal.cfx.re/assets/granted-assets) and open the **Granted Assets** section
2. Find and download the script
3. Save the `.zip` file to your computer
   {% endstep %}

{% step %}
**Extract files**

1. Locate the downloaded `.zip` file
2. Extract the contents to the `resources` folder on your FiveM server:
   {% endstep %}

{% step %}
**Configure the script**

1. Open the script folder
2. Find the configuration folder `/shared`
3. Adjust settings to your needs:

{% embed url="<https://anxscripts.gitbook.io/docs/premium-resources/hud/configuration>" %}
{% endstep %}

{% step %}
**Add to server.cfg**

1. Open the `server.cfg` file on your server
2. Add the script **after** all required dependencies:

```markdown
# Framework core
ensure qb-core

# Dependencies
ensure oxmysql
ensure ox_lib
ensure anx_bridge

# Your scripts
ensure hud
```

{% hint style="warning" %}
Resource loading order matters! Dependencies must be loaded **before** the script that requires them.
{% endhint %}
{% endstep %}

{% step %}
**Restart the server**

1. Save all changes in configuration files
2. Restart your FiveM server
3. Check the console for any errors during startup

{% hint style="success" %}
If no errors appeared in the console, the script has been successfully installed! 🎉
{% endhint %}
{% endstep %}
{% endstepper %}

## Troubleshooting

If you encounter any of these errors, check the detailed solutions in our [FiveM Escrow Errors](#escrow-errors)

* "Failed to Verify Protected Resource"
* "You Lack the Required Entitlement"
* "Syntax Error in resource manifest"

{% hint style="info" %}
Need more help? Check our [Using the Documentation with AI](/docs/using-the-documentation-with-ai.md) before contacting support. If you still need help, join our [Discord server](https://discord.gg/gQQNdegvSm) and create a ticket. Our team responds Monday-Friday.
{% endhint %}


---

# 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://anxscripts.gitbook.io/docs/premium-resources/hud/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.
