Configuration

config.lua:

Config = {}

Config.markerType       = 1   -- Marker type
Config.markerColorR     = 171 -- RED
Config.markerColorG     = 18  -- GREEN
Config.markerColorB     = 247 -- BLUE
Config.markerAlpha      = 146 -- Opacity (0-255)
Config.afterBurn        = 5000 -- How long marker stays (ms)
Config.DisplayHeightOffset = 1
Config.MarkerHeight        = 0.8

-- Neue Funktion: Notify aktivieren/deaktivieren
Config.enableNotify = false
Config.notifyMessage = "Sprachreichweite auf %s Meter"

-- Notify-Export eintragen
Config.Notify = function(message)
    -- Beispiel: ESX
    -- exports['esx_notify']:Notify("info", message)

    -- Standard (falls kein Export eingetragen ist)
    BeginTextCommandThefeedPost("STRING")
    AddTextComponentSubstringPlayerName(message)
    EndTextCommandThefeedPostTicker(false, false)
end

Last updated