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
  • server.cfg
  • config.lua

Was this helpful?

  1. MT SCRIPTS V1
  2. 📦│MT-HEADSCHOT-SYSTEM

Installations

server.cfg

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

ensure mt_headshot

config.lua

You can add more weapons by creating additional entries in the "Weapons" table. For example, you could add a line like:

{name = "WEAPON_PISTOL", duration = 0.3},

Here, the weapon "Pistol" is defined with a duration of 0.3 seconds. You can add more weapons with their corresponding names and duration settings by creating similar entries in the "Weapons" table.

Config = {
    Weapons = {
        {name = "WEAPON_UNARMED", duration = 0.3},
        {name = "WEAPON_NIGHTSTICK", duration = 0.3},
        {name = "WEAPON_APPISTOL", duration = 0.3},
        {name = "WEAPON_CARBINERIFLE", duration = 0.3},
        {name = "WEAPON_ASSAULTRIFLE", duration = 0.3},
        -- Add more weapons here
    }
}
-- Setting for SetPedSuffersCriticalHits
Config.setPedSuffersCriticalHits = false

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.

Previous📦│MT-HEADSCHOT-SYSTEMNextErorrs

Last updated 2 years ago

Was this helpful?