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

# Installation

### STEP - 1 Download Resource <a href="#step-1-download-resource" id="step-1-download-resource"></a>

To begin downloading your recently purchased resource from [fusion.tebex.io](https://fusion.tebex.io). log in to your [cfx.re keymaster ](https://keymaster.fivem.net/asset-grants/)account and navigate to the '**Granted Assets**' section, where you will find the latest release.

### STEP - 2 Resource Dependencies <a href="#step-2-asset-dependencies" id="step-2-asset-dependencies"></a>

This asset depends on specific essential dependencies crucial for it to function properly. Without these dependencies, the asset is likely to encounter errors which will be displayed in the command console.

When downloading the script from [cfx.re keymaster](https://keymaster.fivem.net/asset-grants), you'll receive the latest **fx-treasurehunt** file. After downloading the latest file of **fx-treasurehunt** make sure to download the dependencies of the script.

| Dependencies | Link                                                |
| ------------ | --------------------------------------------------- |
| ox\_lib      | 🔗<https://github.com/overextended/ox_lib/releases> |

### STEP - 3 Resource Installation <a href="#step-3-asset-placement" id="step-3-asset-placement"></a>

Ensure proper placement of assets by following these steps carefully. Skipping this step may result in errors related to missing exports, so it is crucial to adhere to them.

• Create a new folder called `[fusionfx]` in your `resources` folder

• Drag & Drop all the downloaded dependencies into the `[fusionfx]` folder

• Drag & Drop the downloaded file `fx-treasurehunt` into the `[fusionfx]` folder

• Copy the lines given in the below snippet into the `server.cfg` file

Copy

```
## Start dependencies of fx-treasurehunt script
ensure ox_lib
## Start fx-treasurehunt script
ensure fx-treasurehunt
```
