# Envanter (Meta Kıyafetli)

## Bilgilendirme

%99 oranında bug ve dupe fixli, kıyafetçiden kıyafet aldığınızda üzerinize eşya olarak gelmesini sağlayan metalı envanter. Kıyafetlerinizi envanterden giyip çıkartabilir veya başka bir oyuncuya verebilirsiniz.

***

<figure><img src="/files/uOmAk5qxRZwHdQVSXu26" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kEVraONcwmxJNgubEHog" alt=""><figcaption></figcaption></figure>

## Özellikleri

* Meta kıyafet ve karakter önizlemesi.
* Kişisel silahların kullanılmasına yasak.
* Anti dupe, internet yoksa envanter kullanılamaz hale gelir.
* Silah animasyonları ayarlayabilirsiniz.
* İstemediğiniz silahların kullanımını engelleyebilirsiniz.
* İstediğiniz silahları belirli bir rütbeye açabilirsiniz.
* Market açılış etkinliğini belirli mesleklere açabilirsiniz.
* İstemediğiniz eşyaları marketten tamamen kaldırabilirsiniz. (Anti-hile)
* Bagaj ve torpidoyu sadece araç sahibine özel yapabilirsiniz.
* Bagaj ve torpido ağırlığını geçemezler. (Anti-hile)
* Envanter için her zaman açık olan bir çanta sistemi.

## Config

{% code title="bb\_inventory" %}

```lua
Keys = {
    ["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57,
    ["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177,
    ["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245, ["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
    ["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"] = 74, ["K"] = 311, ["L"] = 182,
    ["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29, ["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
    ["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70,
    ["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
    ["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
}

Config = {}

local StringCharset = {}
local NumberCharset = {}

for i = 48,  57 do table.insert(NumberCharset, string.char(i)) end
for i = 65,  90 do table.insert(StringCharset, string.char(i)) end
for i = 97, 122 do table.insert(StringCharset, string.char(i)) end

Config.RandomStr = function(length)
	if length > 0 then
		return Config.RandomStr(length-1) .. StringCharset[math.random(1, #StringCharset)]
	else
		return ''
	end
end

Config.RandomInt = function(length)
	if length > 0 then
		return Config.RandomInt(length-1) .. NumberCharset[math.random(1, #NumberCharset)]
	else
		return ''
	end
end

Config.MaxInventoryWeight = 120000
Config.MaxInventorySlots = 40

Config.AntiDupeTimer = 500
Config.BlockReviveWeapon = 10 -- Dakika
Config.HudHideComponents = false
Config.HudNotHideCar = true
Config.WeaponSerialVerify = true
Config.InventoryBackBlur = true
Config.ShowNamesId = true
Config.DropSound = false
Config.GeciciEhliyetSaat = 48

Config.DontSerieUseWeapon = {
    Enabled = true,
    ByPassWeapons = {
        ['weapon_battleaxe'] = true,
    },
}

Config.AmmoBugTimer = {
    Enabled = false,
    Time = 2000,
}

Config.WeaponAnimations = {
    ["weapon_doubleaction"] = {name = "holster", dict = "anim@weapons@pistol@doubleaction_holster", select = "intro"},
    ["weapon_switchblade"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_urbanrbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_stainedrbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_slaughterbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_scorchedbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_safaribfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_karambitknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_forestbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_bluebfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_bfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_chbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_crimsonbfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
    ["weapon_fadebfknife"] = {name = "unholster", dict = "anim@melee@switchblade@holster", select = "outro"},
}

Config.WhitelistPerm = {
    ["god"] = true,
    ["admin"] = true,
}

Config.AddWeapons = {
    ["weapon_stickybomb"] = 1,
    ["weapon_molotov"] = 1,
    ["weapon_snowball"] = 10,
    ["weapon_ball"] = 1,
}

Config.BlockedWeapons = {
    ["weapon_rpg"] = true,
    ["weapon_minigun"] = true,
}

Config.OwnerTrunk = {
    Working = false,
    WhitelistJob = {
        ['police'] = true,
        ['sheriff'] = true,
        ['sasp'] = true,
        ['harmony'] = true,
        ['notillegal'] = true,
    }
}

Config.Drops = {
    Working = true,
    DeleteTiming = 5, -- Dakika
    Object = `bkr_prop_duffel_bag_01a`,
    Distance = 15.0,
    DonateWeaponDelete = false,
}

Config.BanWeapon = {
    bancommand = "banweapon",
    unbancommand = "unweapon",
    group = "god",
}

Config.AllowStash = {
    ['police'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['hospital'] = { ['ambulance'] = true},

    ['pdcop'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['pdkanit'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['pdkanit2'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['pdkanit3'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },

    ['sdcop'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['sdkanit'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['sdkanit2'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['sdkanit3'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },

    ['saspcop'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['saspkanit'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['saspkanit2'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
    ['saspkanit3'] = { ['police'] = true, ['sheriff'] = true, ['sasp'] = true },
}

Config.AllowWeapon = {
    Emergency = {
        ['police'] = true,
        ['sheriff'] = true,
        ['ambulance'] = true,
        ['adalet'] = true,
        ['sasp'] = true,
    },
    Serie = {
        ['STATE'] = true,
        ['PD'] = true,
        ['SD'] = true,
        ['ST'] = true,
    },
}

Config.AllowLevelWeapon = {
    ["police"] = {
        [`weapon_smg`] = 1,
        [`weapon_mp5`] = 5,
        [`weapon_carbinerifle`] = 5,
        [`weapon_carbinerifle_mk2`] = 8,
        [`weapon_m4`] = 13,
    },
    ["sheriff"] = {
        [`weapon_smg`] = 1,
        [`weapon_mp5`] = 5,
        [`weapon_carbinerifle`] = 6,
        [`weapon_carbinerifle_mk2`] = 8,
        [`weapon_m4`] = 13,
    },
    ["sasp"] = {
        [`weapon_smg`] = 1,
        [`weapon_mp5`] = 2,
        [`weapon_carbinerifle`] = 3,
        [`weapon_carbinerifle_mk2`] = 3,
        [`weapon_m4`] = 10,
    },
}

Config.ForceMetaItem = {
    ["bag"] = true,
}

Config.MaximumAmmoValues = {
    ["pistol"] = 250,
    ["smg"] = 250,
    ["shotgun"] = 200,
    ["rifle"] = 250,
}

Config.StashMaxWeights = {
    ["glovebox"] = { maxweight = 10, slots = 5},
    ["trunk"] = { maxweight = 5000, slots = 50},
    ["stash"] = { maxweight = 10000, slots = 250},
}

Config.TrunkWeight = {
    ["Compacts"] = {
        maxweight = 38,
        slots = 30,
    },
    ["Sedans"] = {
        maxweight = 50,
        slots = 30,
    },
    ["Suv"] = {
        maxweight = 75,
        slots = 50,
    },
    ["Coupes"] = {
        maxweight = 42,
        slots = 35,
    },
    ["Muscle"] = {
        maxweight = 38,
        slots = 30,
    },
    ["SportClassics"] = {
        maxweight = 30,
        slots = 25,
    },
    ["Sports"] = {
        maxweight = 30,
        slots = 25,
    },
    ["Super"] = {
        maxweight = 30,
        slots = 25,
    },
    ["Motorcycles"] = {
        maxweight = 15,
        slots = 10,
    },
    ["Offroad"] = {
        maxweight = 60,
        slots = 35,
    },
    ["Industrial"] = {
        maxweight = 120,
        slots = 35,
    },
    ["Utility"] = {
        maxweight = 120,
        slots = 35,
    },
    ["Vans"] = {
        maxweight = 120,
        slots = 35,
    },
    ["Service"] = {
        maxweight = 120,
        slots = 35,
    },
    ["Commercial"] = {
        maxweight = 120,
        slots = 35,
    },

    ----
    ["Others"] = {
        maxweight = 60,
        slots = 35,
    },
}

BackEngineVehicles = {
    'ninef',
    'adder',
    'vagner',
    't20',
    'infernus',
    'zentorno',
    'reaper',
    'comet2',
    'comet3',
    'jester',
    'jester2',
    'cheetah',
    'cheetah2',
    'prototipo',
    'turismor',
    'pfister811',
    'ardent',
    'nero',
    'nero2',
    'tempesta',
    'vacca',
    'bullet',
    'osiris',
    'entityxf',
    'turismo2',
    'fmj',
    're7b',
    'tyrus',
    'italigtb',
    'penetrator',
    'monroe',
    'ninef2',
    'stingergt',
    'surfer',
    'surfer2',
    'comet3',
}

Config['RemoveWeapons'] = {
    'WEAPON_PISTOL',
    'WEAPON_COMBATPISTOL',
    'WEAPON_HEAVYPISTOL',
    'WEAPON_APPISTOL',
    'WEAPON_SNSPISTOL',
    'WEAPON_SNSPISTOL_MK2',
    'WEAPON_PISTOL_MK2',
    'WEAPON_PISTOL50',
    'WEAPON_DOUBLEACTION',
    'WEAPON_REVOLVER',
    'WEAPON_REVOLVER_MK2',
    'WEAPON_MARKSMANPISTOL',
    'WEAPON_VINTAGEPISTOL',
    'WEAPON_MICROSMG',
    'WEAPON_SMG',
    'WEAPON_SMG_MK2',
    'WEAPON_ASSAULTSMG',
    'WEAPON_COMBATPDW',
    'WEAPON_MACHINEPISTOL',
    'WEAPON_MINISMG',
    'WEAPON_ASSAULTRIFLE',
    'WEAPON_ASSAULTRIFLE_MK2',
    'WEAPON_CARBINERIFLE',
    'WEAPON_CARBINERIFLE_MK2',
    'WEAPON_ADVANCEDRIFLE',
    'WEAPON_SPECIALCARBINE',
    'WEAPON_SPECIALCARBINE_MK2',
    'WEAPON_BULLPUPRIFLE',
    'WEAPON_BULLPUPRIFLE_MK2',
    'WEAPON_COMPACTRIFLE',
    'WEAPON_STUNGUN',
    'WEAPON_FLAREGUN',
    --BICAK
    'WEAPON_KNIFE',
    'WEAPON_SWITCHBLADE',
    'WEAPON_BAT',
    'WEAPON_DAGGER',
    'WEAPON_HAMMER',
    'WEAPON_HATCHET',
    'WEAPON_MACHETE',
    'WEAPON_NIGHTSTICK',
    'WEAPON_WRENCH',
    'WEAPON_KNUCKLE',
}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blackzone.live/bb-v2-paket/dokumantasyon/sistemler/envanter-meta-kiyafetli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
