> 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/gift-system.md). Agents can also search and read this documentation through its [MCP server](https://rtx-dev.gitbook.io/rtxdev/~gitbook/mcp).

# Gift System

Documentation for RTX Gift System, the FiveM Gift Script for ESX, QBCore and QBox: installation, configuration, commands, exports and FAQ.

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

## Purchase

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

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

### QBCore

{% stepper %}
{% step %}

### Put files in resources

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

{% step %}

### Configure framework in config.lua

Open `config.lua` and replace:

* `Config.Framework = "esx"`\
  with:
* `Config.Framework = "qbcore"`
  {% endstep %}

{% step %}

### Configure settings

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

{% step %}

### Database

Upload the `sql.sql` file to your MySQL database.
{% endstep %}

{% step %}

### Edit fxmanifest.lua

Open `fxmanifest.lua` and edit it as shown on this screenshot: <https://i.imgur.com/LWaYxz7.png\\>
Remove `--` from line 11, or replace line 11 with:

```
'@oxmysql/lib/MySQL.lua',
```

{% endstep %}

{% step %}

### Start the resource

Add `rtx_giftsystem` to your `server.cfg`.
{% endstep %}
{% endstepper %}

### ESX

{% stepper %}
{% step %}

### Put files in resources

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

{% step %}

### Configure settings

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

{% step %}

### Database

Upload the `sql.sql` file to your MySQL database.
{% endstep %}

{% step %}

### Edit fxmanifest.lua

Open `fxmanifest.lua` and edit it as shown on this screenshot: <https://i.imgur.com/yoULcX4.png\\>
Remove `--` from line 10, or replace line 10 with:

```
'@mysql-async/lib/MySQL.lua',
```

{% endstep %}

{% step %}

### Start the resource

Add `rtx_giftsystem` to your `server.cfg`.
{% endstep %}
{% endstepper %}

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