> 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/theme-park.md).

# Theme Park

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

## Purchase

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

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

### Add resource files

Put the `rtx_themepark` and `rtx_themepark_objects` folder into your `resources`.
{% endstep %}

{% step %}

### Configure

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

{% step %}

### Database (optional)

Upload `sql/sql.sql` to your MySQL database if you want to use theme park management.
{% endstep %}

{% step %}

### fxmanifest.lua

Open `fxmanifest.lua` and edit it as shown in this screenshot: <https://i.imgur.com/LWaYxz7.png> — remove the `--` from the indicated line, or replace the line with:

'@oxmysql/lib/MySQL.lua'
{% endstep %}

{% step %}

### Server cfg

Add `rtx_themepark` and `rtx_themepark_objects` to your `server.cfg`.
{% endstep %}

{% step %}

### Optional: custom ped routes

If you want custom ped routes in the park, also put `rtx_scenarios` into your `resources` and add `rtx_scenarios` to your `server.cfg`.
{% endstep %}

{% step %}

### Map compatibility

If you have any maps around Del Perro Pier, check the \[Compatibility with other maps] folder to see if any files need to be replaced.
{% endstep %}
{% endstepper %}

### QBCore

{% stepper %}
{% step %}

### Add resource files

Put the `rtx_themepark` and `rtx_themepark_objects` folder into your `resources`.
{% endstep %}

{% step %}

### Configure framework

Open `config.lua` and replace:

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

with:

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

Then configure `config.lua` to your preferences.
{% endstep %}

{% step %}

### Database (optional)

Upload `sql/sql.sql` to your MySQL database if you want to use theme park management.
{% endstep %}

{% step %}

### fxmanifest.lua

Open `fxmanifest.lua` and edit it as shown in this screenshot: <https://i.imgur.com/LWaYxz7.png> — remove the `--` from the indicated line, or replace the line with:

'@oxmysql/lib/MySQL.lua'
{% endstep %}

{% step %}

### Server cfg

Add `rtx_themepark` and `rtx_themepark_objects` to your `server.cfg`.
{% endstep %}

{% step %}

### Optional: custom ped routes

If you want custom ped routes in the park, also put `rtx_scenarios` into your `resources` and add `rtx_scenarios` to your `server.cfg`.
{% endstep %}

{% step %}

### Map compatibility

If you have any maps around Del Perro Pier, check the \[Compatibility with other maps] folder to see if any files need to be replaced.
{% endstep %}
{% endstepper %}

### ESX

{% stepper %}
{% step %}

### Add resource files

Put the `rtx_themepark` and `rtx_themepark_objects` folder into your `resources`.
{% endstep %}

{% step %}

### Configure framework

Open `config.lua` and replace:

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

with:

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

Then configure `config.lua` to your preferences.
{% endstep %}

{% step %}

### Database (optional)

Upload `sql/sql.sql` to your MySQL database if you want to use theme park management.
{% endstep %}

{% step %}

### fxmanifest.lua

Open `fxmanifest.lua` and edit it as shown in this screenshot: <https://i.imgur.com/yoULcX4.png> — remove the `--` from the indicated line, or replace the line with:

'@mysql-async/lib/MySQL.lua'
{% endstep %}

{% step %}

### Server cfg

Add `rtx_themepark` and `rtx_themepark_objects` to your `server.cfg`.
{% endstep %}

{% step %}

### Optional: custom ped routes

If you want custom ped routes in the park, also put `rtx_scenarios` into your `resources` and add `rtx_scenarios` to your `server.cfg`.
{% endstep %}

{% step %}

### Map compatibility

If you have any maps around Del Perro Pier, check the \[Compatibility with other maps] folder to see if any files need to be replaced.
{% endstep %}
{% endstepper %}

## Common issues

<details>

<summary>2 Ferris wheels in Theme Park</summary>

If you see 2 Ferris Wheels, it is because you have some IPL loader on the server that loads the old wheel. You need to disable this IPL. Example: in `bob74_ipl/gtav/base.lua` at the bottom remove:

RequestIpl("ferris\_finale\_anim")

From: <https://i.imgur.com/G8EGoYd.png>

To: <https://i.imgur.com/yM7uJbW.png>

</details>

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

Use the following object names:

* 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

You can stream just one scenarios resource on the server — if you have any other scenarios resource, take `pier.ymt` from our scenarios resource and replace it in the scenarios resource that you currently have.

</details>

<details>

<summary>Edit the logo on top of the Detonator</summary>

If you want to edit the logo on top of the Detonator, replace the big logo in `sempre_delperropier.ytd`.

</details>

<details>

<summary>Open signs floating in the air</summary>

This problem is caused by NVE and cannot be fixed by this resource. Open signs may be deleted in the resource but NVE may re-add them on its own.

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