Tebex

Hello everybody


I’m right here to introduce you to the very best and latest treasure discovering system

First test video

First go to the black market and purchase the merchandise

Then click on on Discover Space

Get there rapidly earlier than time runs out

Excavation places are specified for you and it is best to begin the excavation with the required merchandise

Return to Black Market after the excavations are accomplished and promote the gadgets obtained.

You’ll be able to specify totally different areas to search out the treasure

You’ll be able to simply set your personal gadgets for every space and put totally different animations for every space when navigating.

options

Config File

config = {}
config.distance = 3.0
config.police_alarm = false

config.shop_stations = {
    [1] = {
        Blip = {
            identify="Black Market",
            Pos =  { x = -54.99, y = -1213.64, z = 27.69 ,h = 113.97},
            Sprite  = 463,
            Show = 4,
            Scale   = 0.9,
            Color  = 63,
        },
        Ped = {
            spawn_ped = true,
            ped_model = "csb_prologuedriver"

        },
        buy_items = {
            {label = "Shovel", merchandise = "ba-shovel", value = 20},
            {label = "Decide axe", merchandise = "ba-pickaxe", value = 15},
        },
        sell_items = {
            {label = "Jewels", merchandise = "jewels", value = 100},
            {label = "Copper", merchandise = "copper", value = 10}
        }
    },
}

config.zones = {
    [1] = {
        Specs = {
            zone="A",
            Pos = {x = -753.68, y = 2192.76, z = 95.47},
            mine = {x = -595.98, y = 2089.73, z = 131.41},
            radius = 250.0,
            time = 120,  -- second
            merchandise = {identify="ba-pickaxe", label="Decide Axe"},
            coloration = 187
        },
        Markers = {
            { x = -591.47, y =  2076.52, z = 131.29, lively = true },
            { x = -590.35, y = 2071.76, z = 131.19 , lively = true},
            { x = -589.61, y = 2069.3, z = 131.19 , lively = true},
            {x = -588.6, y = 2064.03, z = 130.969 , lively = true}
        }

    },
    [2] = {
        Specs = {
            zone="B",
            Pos = {x = -1508.49, y = 4308.45, z = 5.66},
            mine = {x = -1512.20, y = 4472.23, z = 17.82},
            radius = 250.0,
            merchandise = {identify="ba-shovel", label="Shovel"},
            time = 120, -- second
            coloration = 16
        },
        Markers = {
            { x = -1512.86, y =  4431.95, z = 13.25 , lively = true},
            { x = -1506.05, y = 4413.11, z = 18.05 , lively = true},
            { x = -1487.39, y = 4420.64, z = 21.39 , lively = true}
        }

    }
}

config.gadgets = {
    [1] = {probability = 12, id = "silencer", identify="Silencer", amount = 1, restrict = 5},
    [2] = {probability = 5, id = "iron", identify="Iron", amount = 2, restrict = 10},
    [3] = {probability = 7, id = "electronics", identify="Electronics Package", amount = 1, restrict = 10},
    [4] = {probability = 3, id = "brokenfishingrod", identify="Damaged Fishing Rod", amount = 1, restrict = 3},
    [5] = {probability = 2, id = "wooden", identify="Wooden", amount = 7, restrict = 100},
    [6] = {probability = 14, id = "usbtrojan", identify="USB TROJAN", amount = 1, restrict = 2},
    [7] = {probability = 1, id = "stone", identify="Stone", amount = 10, restrict = 100},
    [8] = {probability = 7, id = "cartire", identify="Automobile Tire", amount = 2, restrict = 30},
    [9] = {probability = 16, id = "sodium_hydroxide", identify="Sodium Hydroxide", amount = 1, restrict = 3},
    [10] = {probability = 17, id = "rasperry", identify="rasperry", amount = 1, restrict = 1},
    [11] = {probability = 2, id = "rubber", identify="Rubber", amount = 8, restrict = 100},
    [12] = {probability = 10, id = "lockpick", identify="Lock Decide", amount = 2, restrict = 5},
    [13] = {probability = 3, id = "loole", identify="Pipe", amount = 5, restrict = 50},
    [14] = {probability = 3, id = "fanar", identify="Fanar", amount = 5, restrict = 50},
    [15] = {probability = 8, id = "cloth", identify="Parche", amount = 2, restrict = 50},
    [16] = {probability = 11, id = "boxpistol", identify="Field Pistol", amount = 1, restrict = 10}   
}

operate notify_server(supply, kind, textual content)
    TriggerClientEvent('mythic_notify:consumer:SendAlert', supply, { kind = kind, textual content = textual content })
finish

operate notify_client(kind, textual content)
    exports['mythic_notify']:DoHudText(kind, textual content)
finish

operate pay(supply, quantity)
    native xPlayer = ESX.GetPlayerFromId(supply)
    xPlayer.removeMoney(quantity)
finish

operate sale_pay(supply, quantity)
    native xPlayer = ESX.GetPlayerFromId(supply)
    xPlayer.addMoney(quantity)
finish

operate GetItems(supply, merchandise)
    native xPlayer = ESX.GetPlayerFromId(supply)
    native items_info = xPlayer.getInventoryItem(merchandise)
    return items_info
finish

operate RemoveItems(supply, merchandise, rely)
    native xPlayer = ESX.GetPlayerFromId(supply)
    xPlayer.removeInventoryItem(merchandise, rely)
finish

operate addItem(supply, merchandise, rely)
    native xPlayer = ESX.GetPlayerFromId(supply)
    xPlayer.addInventoryItem(merchandise, rely)
finish

operate GetMoney(supply)
    native xPlayer = ESX.GetPlayerFromId(supply)
    cash = xPlayer.cash
    return cash
finish

necessities

  • any model of esx
  • menu defualt
  • progressBar
  • mythic_notify

Tebex

you should buy the script from Here



Looking for paid scripts? Click here