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.