Tebex [2.50€]: https://mskscripts.tebex.io/

Description

➥ Set as many Shops as you want
➥ Set a Shopname for every Shop
➥ Set a license that you need to buy an item or weapon for a certain item
➥ You can buy the corresponding license in this shop
➥ Set a job that you need to enter the Shop
➥ Choose if you want a NPC or a Marker for every Shop
➥ Set different Blips for every Shop
➥ Set as many locations for every Shop as you want
➥ Set as many items or weapons that you want

Database Feature

➥ You can set an max amount of every item in database. If the amount is 0 then you cant buy this item anymore.

Config

Config = {}
----------------------------------------------------------------
Config.Locale="de" -- 'de', 'en'
Config.VersionChecker = true
Config.Debug = true
----------------------------------------------------------------
Config.Hotkey = 38 -- default: 38 = E // Change the Key in translation.lua too
Config.textUI = 'default' -- 'default', 'esx' or 'okok'
Config.npcVoice = true -- The NPC will say something to you
----------------------------------------------------------------
-- !!! If you set this to true make sure that you add ALL Items to your Database in 'msk_shops' Table !!!
-- You can set an max Amount of every item in database. If the amount is 0 then you cant buy this item anymore.
-- Please add the database.sql to your Database
Config.useDatabase = false -- Set true if you want to use that Feature
----------------------------------------------------------------
Config.Shops = {
    ['24/7'] = {
        label="24/7 Shop",
        -- Set license to {label="Weaponlicense", name="weapon", method = true, price = 500} or false to disable
        -- Set 'method' to true or 'black_money' // If 'black_money' the Players can buy or sell with black_money too
        license = false,
        jobs = false, -- 'jobname' or false to disable
        pedmodel="mp_m_shopkeep_01", -- 'mp_m_shopkeep_01' or false to use a Marker instead
        draw3dlang = '~g~Open 24/7', -- 'Open Shop' or false to disable
        blip = {id = 59, color = 2, scale = 0.8}, -- {id = 59, color = 2, scale = 0.8} or false to disable
        locations = { -- You can set multiple locations
            {x = 1727.71, y = 6415.24, z = 35.04, h = 242.06},
            {x = 1697.65, y = 4923.14, z = 42.063, h = 352.85},
            {x = 1959.97, y = 3739.96, z = 32.34, h = 288.98},
            {x = 549.25, y = 2671.34, z = 42.156, h = 82.59},
        },
        items = { 
            -- Set 'type' to 'item' or 'weapon' // If 'weapon' then add 'ammo = 100' // Write Weapons always in BIG LETTERS!! // example: "WEAPON_PISTOL"
            -- Set 'method' to true or 'black_money' // If 'black_money' the Players can buy or sell with black_money
            -- Set 'license' to true or false // If 'false' you dont need the license to buy this item. // If 'true' you need to buy the license first
            -- Set 'price' or 'sellPrice' to false to disable buy or sell function

            {type = "item", label = "Bread", name = "bread", method = true, price = 60, sellPrice = 120},
            {type = "item", label = "Hamburger", name = "hamburger", method = true, price = 80, sellPrice = 120},
            {type = "item", label = "Water", name = "water", method = true, price = 45, sellPrice = 120},
            {type = "item", label = "Icetea", name = "icetea", method = true, price = 55, sellPrice = 120},
            {type = "item", label = "Fruitjuice", name = "jusfruit", method = true, price = 50, sellPrice = 120},
            {type = "item", label = "Phone", name = "phone", method = true, price = 1200, sellPrice = 600},
            {type = "item", label = "Bandage", name = "bandage", method = true, price = 76, sellPrice = 40},
            {type = "item", label = "Beer", name = "beer", method = true, price = 85, sellPrice = 100},
            {type = "item", label = "Contract", name = "contract", method = true, price = 150, sellPrice = 80},
            {type = "item", label = "Backpack", name = "bag", method = true, price = 500, sellPrice = 300},
        }
    },
}

Optional Requirements

Code accessible No
Subscription based No
Lines (approximately) ~ 730
Requirements ESX 1.2 or Legacy, NativeUI, mysql-async or oxmysql
Support Yes



Looking for paid scripts? Click here