πŸ”‘Configuration

REVOLUTION = {}

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

REVOLUTION.helpNotify = function()
    exports["rs_hud_v2"]:HelpNotify("E", "DrΓΌcke E um den Shop zu ΓΆffnen")
end

REVOLUTION.Notify = function(type, msg)
    TriggerEvent("rs_hud_v2:notification", type, "Revolution | Shops", msg, 5000)
end

REVOLUTION.Settings = {
    ["Blips"] = {
        ["SuperMarket"] = {
            enabled = true,
            sprite = 52,
            color = 2,
            scale = 0.7,
            name = "Supermarket"
        },
        ["WeaponShop"] = {
            enabled = true,
            sprite = 567,
            color = 56,
            scale = 0.7,
            name = "Waffenshop"
        },
        ["BlackMarket"] = {
            enabled = true,
            sprite = 626,
            color = 75,
            scale = 0.7,
            name = "Schwarzmarkt"
        },
    },
    ["Markers"] = {
        ["SuperMarket"] = {
            enabled = true,
            type = 21,
            upanddown = false,
            rotate = true,
            color = { r = 0, g = 197, b = 255, a = 100 },
            scale = { x = .75, y = .75, z = .75 }
        },
        ["WeaponShop"] = {
            enabled = true,
            type = 21,
            upanddown = false,
            rotate = true,
            color = { r = 0, g = 197, b = 255, a = 100 },
            scale = { x = .75, y = .75, z = .75 }
        },
        ["BlackMarket"] = {
            enabled = true,
            type = 21,
            upanddown = false,
            rotate = true,
            color = { r = 0, g = 197, b = 255, a = 100 },
            scale = { x = .75, y = .75, z = .75 }
        }
    },
    ["ShopTypes"] = {
        "SuperMarket", -- You can delete them but don't rename the basic ones!
        "WeaponShop",  -- You can delete them but don't rename the basic ones!
        "BlackMarket"  -- You can delete them but don't rename the basic ones!
    },
    ["BlackMarket"] = {
        ["BlackMoney"] = true
    },
    ["WeaponShop"] = {
        ["LicenseNeeded"] = true,
        ["LicensePrice"] = 25000,
        ["CheckLicense"] = function(serverId, fcb)
            ESX.TriggerServerCallback('esx_license:checkLicense', function(hasWeaponLicense)
                if hasWeaponLicense then
                    fcb(true)
                else
                    fcb(false)
                end
            end, serverId, 'boat')
        end
    }
}

REVOLUTION.Categories = {
    ["SuperMarket"] = {
        ["First"] = "ESSEN",
        ["Second"] = "TRINKEN",
        ["Third"] = "ITEMS"
    },
    ["WeaponShop"] = {
        ["First"] = "WAFFEN",
        ["Second"] = "NAHKAMPF",
        ["Third"] = "WEITERES"
    },
    ["BlackMarket"] = {
        ["First"] = "TOOLS",
        ["Second"] = "DROGEN",
        ["Third"] = "WEITERES"
    }
}

REVOLUTION.Items = {
    ["SuperMarket"] = {
        ["First"] = {
            {
                name = "bread",
                label = "Brot",
                price = 100,
                type = "item"
            },
            {
                name = "pizza",
                label = "Pizza",
                price = 100,
                type = "item"
            }
        },
        ["Second"] = {
            {
                name = "water",
                label = "Wasser",
                price = 100,
                type = "item"
            }
        },
        ["Third"] = {
            {
                name = "fixkit",
                label = "Reperaturkasten",
                price = 100,
                type = "item"
            },
            {
                name = "phone",
                label = "Handy",
                price = 100,
                type = "item"
            },
            {
                name = "medikit",
                label = "Medikit",
                price = 100,
                type = "item"
            }
        }
    },
    ["WeaponShop"] = {
        ["First"] = {
            {
                name = "weapon_pistol",
                label = "Pistole",
                price = 1000,
                type = "weapon"
            },
            {
                name = "weapon_pistol50",
                label = "50er Pistole",
                price = 1000,
                type = "weapon"
            }
        },
        ["Second"] = {
            {
                name = "weapon_knife",
                label = "Messer",
                price = 100,
                type = "weapon"
            }
        },
        ["Third"] = {
            {
                name = "weapon_stickybomb",
                label = "Haftbombe",
                price = 100,
                type = "weapon"
            }
        }
    },
    ["BlackMarket"] = {
        ["First"] = {
            {
                name = "hackingtool",
                label = "Hacking GerΓ€t",
                price = 100,
                type = "item"
            }
        },
        ["Second"] = {
            {
                name = "coke",
                label = "Koks",
                price = 100,
                type = "item"
            }
        },
        ["Third"] = {
            {
                name = "weed",
                label = "Weed",
                price = 100,
                type = "item"
            }
        }
    }
}

REVOLUTION.Locations = {
    ["SuperMarket"] = {
        vector3(373.875, 325.896, 103.566),
        vector3(2557.458, 382.282, 108.622),
        vector3(-3038.939, 585.954, 7.908),
        vector3(-3241.927, 1001.462, 12.830),
        vector3(1961.464, 3740.672, 32.343),
        vector3(2678.916, 3280.671, 55.241),
        vector3(1729.216, 6414.131, 35.037),
        vector3(1135.808, -982.281, 46.415),
        vector3(-1222.915, -906.983, 12.326),
        vector3(-1487.553, -379.107, 40.163),
        vector3(-2968.243, 390.910, 15.043),
        vector3(1166.024, 2708.930, 38.157),
        vector3(1392.562, 3604.684, 34.980),
        vector3(127.830, -1284.796, 29.280),
        vector3(-559.906, 287.093, 82.176),
        vector3(-48.519, -1757.514, 29.421),
        vector3(1163.373, -323.801, 69.205),
        vector3(-707.501, -914.260, 19.215),
        vector3(-1820.523, 792.518, 138.118),
        vector3(1698.388, 4924.404, 42.063),
        vector3(-406.47, 6062.57, 31.5),
        vector3(-1058.5930, -2812.3789, 26.8145),
        vector3(26.16, -1346.84, 29.48)
    },
    ["WeaponShop"] = {
        vector3(810.2, -2157.3, 29.6),
        vector3(1693.4, 3759.5, 34.7),
        vector3(-330.2, 6083.8, 31.4),
        vector3(252.3, -50.0, 69.9),
        vector3(22.0, -1107.2, 29.8),
        vector3(2567.6, 294.3, 108.7),
        vector3(-1117.5, 2698.6, 18.5),
        vector3(842.4, -1033.4, 28.1),
        vector3(-662.62, -935.2, 21.83),
        vector3(-3171.96, 1087.84, 20.84),
        vector3(-1306.2, -393.88, 36.68),
    },
    ["BlackMarket"] = {
        vector3(813.0711, -280.9489, 66.4623),
    }
}

REVOLUTION.Language = {
    ["SuperMarket"] = {
        ["Title"] = "24/7",
        ["SubTitle"] = "Market",
        ["Description"] = "You can buy products as you wish",
        ["CategoryTitle"] = "Kategorie",
        ["EmptyCart"] = "Shopping cart is empty drag items in here",
        ["Price"] = "Preis",
        ["Products"] = "PRODUKTE",
        ["Cash"] = "Bar",
        ["Card"] = "Karte"
    },
    ["WeaponShop"] = {
        ["Title"] = "Weapon",
        ["SubTitle"] = "Shop",
        ["Description"] = "You can buy products as you wish",
        ["CategoryTitle"] = "Kategorie",
        ["EmptyCart"] = "Shopping cart is empty drag items in here",
        ["Price"] = "Preis",
        ["Products"] = "PRODUKTE",
        ["Cash"] = "Bar",
        ["Card"] = "Karte"
    },
    ["BlackMarket"] = {
        ["Title"] = "Black",
        ["SubTitle"] = "Market",
        ["Description"] = "You can buy products as you wish",
        ["CategoryTitle"] = "Kategorie",
        ["EmptyCart"] = "Shopping cart is empty drag items in here",
        ["Price"] = "Preis",
        ["Products"] = "PRODUKTE",
        ["Cash"] = "Bar",
        ["Card"] = "Karte",
        ["Black"] = "Schwarzgeld"
    },
    ["Notifies"] = {
        ["Bought"] = "Danke fΓΌr deinen Einkauf! Bis zum nΓ€chsten mal",
        ["NotEnoughMoney"] = "Du hast nicht genΓΌgend Geld!"
    }
}

Last updated