Wert Christmas System
You can access the setup information you need about this product
🎄 Wert Christmas System - Documentation
Welcome to the official documentation for the Wert Christmas System. Follow the steps below to install and configure the resource for your server.
📦 Dependencies
Before installing, please ensure you have the following resource installed and running:
ox_lib (Required for UI and functions)
🛠 Installation Guide
Follow these simple steps to get the system running:
1. Download the Resource
Download the script files from your Cfx.re Keymaster account assets.
2. Upload to Server
Drag and drop the wert-christmas folder into your server's resources directory.
3. Server Configuration
Add the following line to your server.cfg file to ensure the script starts automatically:
Kod snippet'i
4. Database (SQL)
You do not need to run any manual SQL files. The script automatically synchronizes and creates the necessary database tables upon the first start.
⚙️ Configuration & Locales
Config Settings
You can adjust all system settings in the config.lua file.
{% hint style="info" %}
Important: Please review the config.lua file carefully and configure the settings (prices, rewards, tree levels) to match your server's economy and preferences before opening it to players.
{% endhint %}
Language Editor (JSON)
All text and messages are stored in JSON format. You can easily translate the script into your preferred language or edit the text directly within the JSON files found in the locales/ folder.
👨💻 Developer Guide (Exports)
If you want to integrate the mission system with other scripts (e.g., giving mission progress from a robbery or a job), you can use the following export.
Add Mission Progress
Use this export to increment the progress of a specific mission for a player.
Syntax:
Lua
source: The player's server ID.missionId: The unique ID of the mission (defined in your config).amount: How much progress to add (usually1).
Example Usage:
Below is an example of how to add progress to the 'snowball_fight' mission:
Lua
💡 GitBook İpuçları:
{% hint style="info" %}: Bu kodu GitBook'a yapıştırdığında otomatik olarak mavi, dikkat çekici bir bilgi kutusuna dönüşecektir.Kod Blokları:
luavecfgetiketlerini kullandım, böylece kodlar renklendirilmiş (syntax highlighting) olarak görünecek.
Nasıl görünüyor? Eklemek istediğin başka bir detay var mı?
Last updated