🔑Configuration

REVOLUTION = {}

REVOLUTION.SharedObject = {
    ['Client'] = 'esx:getSharedObject',
    ['Server'] = 'esx:getSharedObject'
}

REVOLUTION.Markers = {
    ["Enabled"] = true,
    ["Rotate"] = true,
    ["Jump"] = false,
    ["Type"] = 21,
    ["Size"] = {
        x = 0.5,
        y = 0.5,
        z = 0.5
    },
    ["Color"] = {
        r = 230,
        g = 41,
        b = 74,
        a = 144
    },
    ["DrawDistance"] = 10.0
}

-- * If you want an instant treasure change, please use the SQL UPDATE_CONFIG command. 
-- ! WARNING: Note that this will reset all claimed treasures, setting them to NULL

REVOLUTION.TreasureLocations = {{
    ["Locations"] = {{
        ["ID"] = 1,
        ["Coords"] = vector3(661.1618, 1282.7186, 360.2958),
        ["Rewards"] = {{
            ["Name"] = "water",
            ["Type"] = "item",
            ["Amount"] = 5
        }}
    }, {
        ["ID"] = 2,
        ["Coords"] = vector3(0, 0, 0),
        ["Rewards"] = {{
            ["Name"] = "water",
            ["Type"] = "item",
            ["Amount"] = 5
        }}
    }},
    ["Image"] = "https://cdn.discordapp.com/attachments/1208052793240453283/1313504342459945021/OoUY7pT.png?ex=67505fbe&is=674f0e3e&hm=af58899fed6addf661aab5701f1f729cb5bd6e57e56c42d457288dc0456b6e80&",
    ["Hint"] = {
        ["Price"] = 16000,
        ["Image"] = "https://cdn.discordapp.com/attachments/1208052793240453283/1313504504121131069/OyBtDxw.png?ex=67505fe5&is=674f0e65&hm=a9a1f59542568ef853b1516341e584677dfb415792befd3808538d0cd515e83c&"
    }
}}

REVOLUTION.OpenMenu = {
    ["Coords"] = vector4(-93.9267, 886.9927, 236.2445, 237.5746),
    ["Model"] = "a_m_o_soucent_02",
    ["Blip"] = {
        enabled = true,
        text = "Treasure Hunt",
        color = 10,
        sprite = 280,
        scale = 0.7
    }
}

REVOLUTION.MenuOptions = {
    ["MaxShowRankList"] = 8
}

REVOLUTION.Language = {
    ["help_notify_treasure"] = "~INPUT_CONTEXT~ Um den Schatz zu öffnen",
    ["help_notify_menu"] = "E um mit Gustavo zu reden",
    ["hint_bought"] = "Du hast dir einen Tipp erkauft!",
    ["hint_already_bought"] = "Du hast dir bereits einen Tipp erkauft!",
    ["hint_not_enough_money"] = "Du hast nicht genügend Geld!",
    ["treasure_opened"] = "Du hast den Schatz geöffnet!",

    -- ui

    ["Title"] = "Schatz",
    ["SubTitle"] = "Suche",
    ["Description"] = "Suche täglich nach Schätzen und finde Wertvolle Gegenstände wie Motorteile, Waffenteile, Geld, Autos und vieles mehr",
    ["Location"] = "STANDORT",
    ["TimeLeft"] = "Zeit verbleibend",
    ["HintCosts"] = "Kosten",
    ["Hint"] = "Tipp",
    ["ReceivedTreasures"] = "ERHALTENE SCHÄTZE"
}

function REVOLUTION:HelpNotify(msg)
    exports["rs_hud_v2"]:SendHelpnotify("E", msg)
end

function REVOLUTION:Notify(msg)
    exports["rs_hud_v2"]:SendNotify("info", "Revolution | Advent", msg, 6000)
end

Last updated