> For the complete documentation index, see [llms.txt](https://rtx-dev.gitbook.io/rtxdev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rtx-dev.gitbook.io/rtxdev/spawnable-attractions.md). Agents can also search and read this documentation through its [MCP server](https://rtx-dev.gitbook.io/rtxdev/~gitbook/mcp).

# Spawnable Attractions

Documentation for RTX Spawnable Attractions, the FiveM Fairground Rides Script for ESX, QBCore and QBox: installation, configuration, commands, exports and FAQ.

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

## Purchase

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

## 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 %}

### Installation steps

{% stepper %}
{% step %}

### Standalone

* Put the `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` folder into your `resources`.
* Open `config.lua`.
* Configure your `config.lua` to your preferences.
* Add `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` to your `server.cfg`.
  {% endstep %}

{% step %}

### QBCore

* Put the `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` folder into your `resources`.
* Open `config.lua`.
* Replace `Config.Framework = "standalone"` with `Config.Framework = "qbcore"`.
* Configure your `config.lua` to your preferences.
* Add `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` to your `server.cfg`.
  {% endstep %}

{% step %}

### ESX

* Put the `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` folder into your `resources`.
* Open `config.lua`.
* Replace `Config.Framework = "standalone"` with `Config.Framework = "esx"`.
* Configure your `config.lua` to your preferences.
* Add `rtx_spawnableattractions` and `rtx_spawnableattractions_objects` to your `server.cfg`.
  {% endstep %}
  {% endstepper %}

To create attractions, enable `Config.AttractionCreator` in the config and use `/createattraction` in the game to create the attraction, then paste the attraction into `Config.Attractions`.

## Common issues

<details>

<summary>Need a key to start bumper cars</summary>

You need to add to your script with vehicle keys the whitelist for our vehicle. The vehicle name is: `rtxbumper`

</details>

<details>

<summary>Object names for whitelist to anticheat</summary>

* `prop_cs_hotdog_02`
* `prop_cs_burger_01`
* `sempre_delperropier_popcorn_box`
* `sempre_delperropier_candycotton_prop`
* `sempre_delperropier_balloon_b`
* `sempre_delperropier_balloon_g`
* `sempre_delperropier_balloon_p`
* `sempre_delperropier_balloon_r`
* `sempre_delperropier_bus_blue_screen`
* `sempre_delperropier_bus_red_screen`
* `sempre_delperropier_bus_target`

</details>

## 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)
