MT SERVICE DOCUMENTATION
WebshopYoutubeDiscord
  • 👨‍✈️WELCOME
  • 📕READ ME
  • MT SCRIPTS V1
    • 📦│MT-FFA
      • Installations
      • Erorrs
    • 📦│MT-HUD
      • Installations
      • Erorrs
    • 📦│MT-SHOP
      • Installations
      • Erorrs
    • 📦│MT-NOTIFY
      • Installations
      • Erorrs
    • 📦│MT-GANGWAR
      • Installations
      • Erorrs
    • 📦│MT-KO-SYSTEM
      • Installations
      • Erorrs
    • 📦│MT-WEAPONSHOP
      • Installations
      • Erorrs
    • 📦│MT-DEATHSCREEN
      • Installations
      • Erorrs
    • 📦│MT-HEADSCHOT-SYSTEM
      • Installations
      • Erorrs
    • 📦│MT-INGAME-TICKETYSTEM
      • Installations
      • Erorrs
    • 📦│MT_PROGRESSBARS
      • Installations
      • Erorrs
    • 📦│MT_INJURIES
      • Installations
      • Erorrs
    • 📦│MT_SAFEZONE
      • Installations
      • Erorrs
    • 📦│MT_NAMECHANGE
      • Installations
      • Erorrs
    • 📦│MT_PARKING
      • Installations
      • Erorrs
    • 📦│MT_SAND_THROWING
      • ESX Installations
      • QB Installations
      • Erorrs
Powered by GitBook
On this page
  • Dependencies
  • MySQL
  • server.cfg
  • Discord Webhooks

Was this helpful?

  1. MT SCRIPTS V1
  2. 📦│MT-FFA

Installations

Previous📦│MT-FFANextErorrs

Last updated 1 year ago

Was this helpful?

Dependencies

You need the fivem-mysql-async

MySQL

Copy the MySQL code and paste it into your database.

CREATE TABLE `mt_ffa` (
  `id` int(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `kills` int(255) NOT NULL DEFAULT 0,
  `deaths` int(255) NOT NULL DEFAULT 0,
  `isinffa` int(255) DEFAULT 0,
  `identifier` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

ALTER TABLE `mt_ffa`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `mt_ffa`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;

server.cfg

Add the command to your server.cfg file and make sure that the script is started.

ensure mt_ffa

Discord Webhooks

Getting started with Discord webhooks: You can connect your Discord webhooks in the sv_config.lua file.

Do you have questions

You can customize everything else in your config.lua. If you have any questions or encounter difficulties, feel free to contact us on Discord.

How to Get Started with Discord Webhooks - Hookdeck
GitHub - brouznouf/fivem-mysql-async: MySql Async Library for FiveMGitHub
Logo
Logo