uniqers-halloween

How to install and all exports infos.

Installation


๐ŸŽƒ General Installation Steps (For Both Frameworks)

  1. Place Script Files: Put the script folder into your server's resources directory.

  2. Execute the SQL File: Run the SQL code provided earlier (not included here, but mentioned in the original text) in your database. This will create the players_halloween and halloween_tebex_codes tables.

  3. Add Required Items: Add the custom items listed below to your framework's item list.


โš™๏ธ QBCore Specific Setup

Configure config.lua

Set the framework:

Lua

Ensure the core name matches your script:

Lua

Add Items to qb-core/shared/items.lua

Add the following item definitions. (Remember to add corresponding .png image files to your inventory image directory):

Lua


โš™๏ธ ESX Specific Setup

Configure config.lua

Set the framework:

Lua

Ensure the core name matches your script:

Lua

Example SQL for Adding Items

Use this SQL to add the necessary items to your database:

SQL


๐Ÿš€ Starting the Script

Edit server.cfg

Add the ensure line to your server.cfg after your core and inventory scripts:

Kod snippet'i


Tebex Setup ๐Ÿ›’

Game Server Command

In your Tebex package setup, paste the following into the command field (adjust the candy amount as needed):

(Ensure the setting "Require player to be online" is set to "Execute command even if player is offline.")

Support & Updates & Questions

https://discord.gg/MyrGhbf9tM

https://discord.gg/MyrGhbf9tM

Last updated