👷♂️Installation KD SYSTEM
📌 Installation Steps
1️⃣ 📂 Upload the script to your server
Place the script folder inside resources/ on your FiveM server.
2️⃣ 📝 Configure the config.lua file
Define the Top 1 reward 🏆. Set how often the ranking is reset 🔄.
Config = {}
Config.Top1Reward = 10000 -- Put here the prize you want the top 1 of the ranking to receive
Config.ResetInterval = 86400 -- Enter the time here for the ranking to reset and for the top 1 award to be given
3️⃣ 📑 Import the Database (SQL)
Open your database manager (HeidiSQL, phpMyAdmin, etc.).
Import the .sql file included in the script folder.
CREATE TABLE IF NOT EXISTS syntax_kdsystem (
identifier VARCHAR(50) NOT NULL PRIMARY KEY,
kills INT NOT NULL DEFAULT 0,
deaths INT NOT NULL DEFAULT 0
);4️⃣ ⚙️ Add the script to your server.cfg
Inside server.cfg, add the line:
ensure syntax_kdsystem
5️⃣ 🚀 Restart your server and enjoy
Done! Players can now compete for Top 1 and receive their reward. 🎁
Last updated