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_SAFEZONE

Installations

server.cfg

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

ensure mt_safezones

config.lua

You can configure everything in config.lua. Once you have made your desired changes, you'll need to restart your server to ensure that everything works smoothly.

Config = {}

Config.zones = {
	{ ['x'] = 397.67, ['y'] = -1019.21, ['z'] = 29.44 },
}

Config.showNotification = true -- Show notification when in Safezone?
Config.radius = 50.0 -- Change the RADIUS of the Safezone.
Config.speedlimitinSafezone = 30.0 -- Set a speed limit in a Safezone (MPH), Set to false to disable
Config.showBlips = true -- Enable or disable blips (true for on, false for off).
Config.blipColor = 11 -- Blip color. You can change the number to adjust the color (11 corresponds to pink).

Config.notifications ="notifications"	-- Show notification when in Safezone?
Config.notificationTitle = "MT SafeZone" -- Title for the notification.
Config.notificationTextOn = "You have just entered the SafeZone." -- Text displayed when entering the Safezone.
Config.notificationTextOff = "You have just left the SafeZone." -- Text displayed when leaving the Safezone.
Config.notificationColor = "#673ab7" -- Color for the notification.

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_SAFEZONENextErorrs

Last updated 1 year ago

Was this helpful?