Sellable Stashes

Oyuncular, haritada belirli konumlarda bulunan depoları satın alabilir. Satın alınan depolar, kişisel eşyaların saklanabileceği güvenli alanlardır. Oyuncu isterse depoyu içindeki tüm itemlerle birlikte satabilir. Depo satıldığında içindeki eşyalar da kaybolur ve oyuncuya toplam satış bedeli verilir.

💡 Özellikler:

  • 🏠 Depo Satın Alma: Belirlenen fiyat karşılığında boş bir depo satın alabilirsiniz.

  • 🗃️ Eşya Saklama: Depoya sınırsız sayıda item yerleştirebilir, organize edebilirsiniz.

  • 💰 Depoyu Satma: Depoyu istediğiniz zaman satabilir, içindeki eşyalarla birlikte elden çıkarabilirsiniz.

  • ⚠️ Uyarı Sistemi: Depoyu satarken, içindeki eşyaların da silineceğine dair onay ekranı çıkar.

Players can buy storage units located on the map. These storages serve as personal, safe spaces to store items. If desired, the player can sell the entire storage along with its contents. When sold, all items are deleted and the player receives a total payment.

💡 Features:

  • 🏠 Buy Storage: Purchase available storage spaces for a set price.

  • 🗃️ Store Items: Place and manage unlimited items inside your personal storage.

  • 💰 Sell Storage: Sell the storage unit anytime, including its contents.

  • ⚠️ Warning System: A confirmation message warns that all items will be lost upon sale.

RiseCore = exports['Rise-Core']:RiseCore()

RiseDev = {}
-- Warehouse NPC Location
RiseDev.DepoKonum = vector4(-414.48, -2799.77, 6.0, 312.44)

-- Payment Types
RiseDev.OdemeTipleri = {
    nakit = true,
    banka = true
}

-- Target Systems
RiseDev.Target = {
    Export = 'qb-target',
    Label = "Open Stashes",
    Icon = "fas fa-warehouse",
    Distance = 2.0,
    -- 
    Icon1 = "fas fa-warehouse",
    Distance1 =  2.0,
    Label1 = "Stashes Buy",
}


RiseDev.NPC = {
    Model = `a_m_m_business_01`,
}

RiseDev.Stashes = {
    BlipBuyName = "Stashes Buy",
}

-- Warehouse Price
RiseDev.DepoFiyat = 50000

-- Warehouse Slot
RiseDev.DepoSlot = 100

-- Warehouse Weight
RiseDev.DepoAgirlik = 1000000


-- Warehouse Locations
RiseDev.Depolar = {
    [1] = {
        label = "A Block - Warehouse",
        location = vector3(-437.98, -2795.77, 7.3),
        blip = {
            sprite = 473,
            colour = 3,
            scale = 0.7,
            label = "Warehouse A1"
        }
    },
    [2] = {
        label = "A Block - Warehouse",
        location = vector3(-439.85, -2797.65, 7.3),
        blip = {
            sprite = 473,
            colour = 3,
            scale = 0.7,
            label = "Warehouse A2"
        }
    },
    -- You can add as many warehouses as you want
}
Locale = {}

Locale.Notify = {
    NewPassword = "You must set a new password!",
    PasswordSuccess = 'Warehouse password has been set!',
    SuccessPassword = 'Password is correct!',
    ErrorPassword = "Incorrect password!",
    StashesInfoNone = 'Warehouse information could not be retrieved!',
    StashesFull = "This warehouse has already been purchased!",
    StashesSuccess = "Warehouse successfully purchased! Now set your password.",
    NoneMoney = "You don’t have enough money!",
    PasswordSuccesss = "Password successfully set!",
    StashesNone = "Warehouse not found!",
    BossPassword = "Only the warehouse owner can change the password!",    
}

https://www.youtube.com/watch?v=NFz39r7ZpxI

Last updated