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
  • NOTIFY

Was this helpful?

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

Installations

server.cfg

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

ensure mt_weaponshop

config.lua

You can make all settings in the "config.lua".#

If you want, you can add another shop.

["idname"] = {
        blips = false,        --Show on the map
        blipsprite = 0,        --Show on the map
        blipdisplay = 4,
        blipscale = 1.0,        --Blip's greetings
        blipcolor = 0,        --Blip's color
        blipname = "name",        --Blip's name
        Shops = {
            vector3(110.110, -110.110, 110.110)
        }
}

You still have to add that.

["idname"] = {
    ["Waffen"] = { --Do not change
        {
            name = "",    --Item ID names
            label = "",    --Item names
            price = 0,    --Item price
            type = "item"    --Do not change
        },
    }
},

NOTIFY

The script is linked to our NOTIFY system.

If desired, you can customize the title, color and translate all texts.

Config.notifycolor = "#673ab7" -- You have the option to modify the color here.

Config.headline = "Waffenladen" -- Here you have the possibility to change the title name

Config.money = "Du hast nicht genügend Geld"
Config.buy = "Einkauf erfolgreich"
Config.hav = "Du hast die Waffe bereits."
Config.GetNotificationMessage = function(amount, item)
    return 'Du hast ' .. amount .. 'x ' .. item .. ' gekauft.' 
end

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-WEAPONSHOPNextErorrs

Last updated 2 years ago

Was this helpful?