# Haunted House

{% embed url="<https://www.youtube.com/watch?v=7tHJhMrdLe4>" %}

## Purchase

[Purchase this resource](https://rtx.tebex.io/package/6716484)

## Installation

{% hint style="info" %}
**Framework compatibility**

This resource is **standalone** and works on any FiveM server.

Compatible with **ESX**, **QBCore**, **QBox**, **vRP**, and other frameworks.

If you are using a framework other than ESX, QBCore, or QBox, follow the **Standalone** installation instructions.
{% endhint %}

### Standalone

{% stepper %}
{% step %}

### Install the resource files

Put the `rtx_hauntedhouse` folder into your `resources`.
{% endstep %}

{% step %}

### Configure

Open `config.lua` and configure it to your preferences.
{% endstep %}

{% step %}

### Enable on server

Add `rtx_hauntedhouse` to your `server.cfg`.
{% endstep %}

{% step %}

### Objects

Put the `rtx_hauntedhouse_objects` folder into your `resources` and add it to your `server.cfg`.
{% endstep %}
{% endstepper %}

To create a new position for a haunted house, enable `Config.HauntedHouseCreator` in the config and use the ingame command `/hauntedcreator`.

### QBCore

{% stepper %}
{% step %}

### Install the resource files

Put the `rtx_hauntedhouse` folder into your `resources`.
{% endstep %}

{% step %}

### Set framework

Open `config.lua` and replace:

```
Config.Framework = "standalone"
```

with:

```
Config.Framework = "qbcore"
```

{% endstep %}

{% step %}

### Configure

Configure `config.lua` to your preferences.
{% endstep %}

{% step %}

### Enable on server

Add `rtx_hauntedhouse` to your `server.cfg`.
{% endstep %}

{% step %}

### Objects

Put the `rtx_hauntedhouse_objects` folder into your `resources` and add it to your `server.cfg`.
{% endstep %}
{% endstepper %}

To create a new position for a haunted house, enable `Config.HauntedHouseCreator` in the config and use the ingame command `/hauntedcreator`.

### ESX

{% stepper %}
{% step %}

### Install the resource files

Put the `rtx_hauntedhouse` folder into your `resources`.
{% endstep %}

{% step %}

### Set framework

Open `config.lua` and replace:

```
Config.Framework = "standalone"
```

with:

```
Config.Framework = "esx"
```

{% endstep %}

{% step %}

### Configure

Configure `config.lua` to your preferences.
{% endstep %}

{% step %}

### Enable on server

Add `rtx_hauntedhouse` to your `server.cfg`.
{% endstep %}

{% step %}

### Objects

Put the `rtx_hauntedhouse_objects` folder into your `resources` and add it to your `server.cfg`.
{% endstep %}
{% endstepper %}

To create a new position for a haunted house, enable `Config.HauntedHouseCreator` in the config and use the ingame command `/hauntedcreator`.

## Notes

This page contains simple installation instructions only.

More detailed instructions, exports, events and developer-related information can be found directly inside the product folder after downloading the resource from the CFX Asset Portal.

## Support

If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:

[Join our Discord](https://discord.gg/rtxdev)
