tree-christmasChristmas

Purchase

Purchase this resourcearrow-up-right

Installation

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

Standalone

1

Place files

Put the rtx_christmas folder into your resources.

2

Configure

Open config.lua file and configure it to your preferences.

3

Start resource

Put the rtx_christmas to your server.cfg.

4

Objects resource

Put the rtx_christmas_objects folder into your resources and add it to your server.cfg.

5

Items

Go to the Items folder and depending on which inventory system you use, either copy the items into your inventory item list file (for QBCore or OX Inventory) or import the SQL items into your database if you're using ESX.

6

Standalone item functions

If you are using the standalone version, you need to create your own items depending on your inventory system. In server/other.lua, you also need to add your own functions for getting items, checking money, etc. You can follow the examples provided for ESX and QBCore as a reference.

7

Database

Upload sql sql.sql file to your mysql database.

QBCore

1

Place files

Put the rtx_christmas folder into your resources.

2

Configure framework

Open config.lua file and replace:

with:

Then configure the rest of your config.lua to your preferences.

3

Start resource

Put the rtx_christmas to your server.cfg.

4

Objects resource

Put the rtx_christmas_objects folder into your resources and add it to your server.cfg.

5

Items

Go to the Items folder and depending on which inventory system you use, either copy the items into your inventory item list file (for QBCore or OX Inventory) or import the SQL items into your database if you're using ESX.

6

Database

Upload sql sql.sql file to your mysql database.

ESX

1

Place files

Put the rtx_christmas folder into your resources.

2

Configure framework

Open config.lua file and replace:

with:

Then configure the rest of your config.lua to your preferences.

3

Start resource

Put the rtx_christmas to your server.cfg.

4

Objects resource

Put the rtx_christmas_objects folder into your resources and add it to your server.cfg.

5

Items

Go to the Items folder and depending on which inventory system you use, either copy the items into your inventory item list file (for QBCore or OX Inventory) or import the SQL items into your database if you're using ESX.

6

Database

Upload sql sql.sql file to your mysql database.

Commands

Use the following player commands:

/christmas — opens the menu for crafting Christmas items (igloo, snowball, snowman) /snowcollect — lets you collect snow from the ground /removesnowman — delete a snowman you placed /removeigloo — delete an igloo you placed /removetree — delete a Christmas tree you placed

Admin commands (you must set the permissions in other.lua): /clearsnowmans — deletes all snowmen on the server /clearigloos — deletes all igloos on the server /cleartrees — deletes all Christmas trees on the server

/clearnearbysnowmans 5.0 — deletes all nearby snowmen within 5.0 units /clearnearbyigloos 5.0 — deletes all nearby igloos within 5.0 units /clearnearbytrees 5.0 — deletes all nearby Christmas trees within 5.0 units

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 Discordarrow-up-right

Last updated