# QBCore Installation

{% @github-files/github-code-block url="<https://github.com/ahmetkavl/kvlstore-qbtarget>" %}

Installation instructions

Follow instructions in "Readme" folder for your framework failing to do so will cause for things not to work as intended.

### Step - 1: <a href="#step-1" id="step-1"></a>

Copy kvl-drugs to your resources directory&#x20;

Add "ensure kvl-drugs" to your server config

### Step - 2: <a href="#step-3" id="step-3"></a>

Adding images for your inventory Copy the files from Images to your qb-inventory/html/images folder.

Adding items to the items.lua

```
['bag'] 		 	     	 = {["name"] = "bag", 			["label"] = "Bag", 		["weight"] = 100, 	        ["type"] = "item", 		["image"] = "bag.png", 			        ["unique"] = false, 		["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = nil},
['marijuana'] 				 = {['name'] = 'marijuana', 		['label'] = 'Marijuana', 	['weight'] = 100, 		['type'] = 'item', 		['image'] = 'marijuana.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['weedleaf'] 		 	         = {["name"] = "weedleaf", 		["label"] = "Weed Leaf", 	["weight"] = 100, 	        ["type"] = "item", 		["image"] = "weedleaf.png", 			["unique"] = false, 		["useable"] = false, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = nil},
['joint'] 			         = {['name'] = 'joint', 		['label'] = 'Joint', 		['weight'] = 100, 		['type'] = 'item', 		['image'] = 'joint.png', 				['unique'] = false, 		['useable'] = true, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['weedpaper'] 				 = {['name'] = 'weedpaper', 		['label'] = 'Weed Paper', 	['weight'] = 100, 		['type'] = 'item', 		['image'] = 'weedpaper.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},

['acetone'] 				 = {['name'] = 'acetone', 		['label'] = 'Acetone', 		['weight'] = 100, 		['type'] = 'item', 		['image'] = 'acetone.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['aluminyum'] 				 = {['name'] = 'aluminyum', 		['label'] = 'Aluminyum', 	['weight'] = 100, 		['type'] = 'item', 		['image'] = 'aluminyum.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['phosphorus'] 				 = {['name'] = 'phosphorus', 		['label'] = 'Phosphorus', 	['weight'] = 100, 		['type'] = 'item', 		['image'] = 'phosphorus.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['distilledbottle'] 		         = {['name'] = 'distilledbottle', 	['label'] = 'Distilled Bottle', ['weight'] = 100, 	        ['type'] = 'item', 		['image'] = 'distilledbottle.png', 		['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['cookedmeth'] 				 = {['name'] = 'cookedmeth', 		['label'] = 'Cooked Meth',      ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'cookedmeth.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['methcrystal'] 			 = {['name'] = 'methcrystal', 		['label'] = 'Meth Crystal',     ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'methcrystal.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['methpack'] 				 = {['name'] = 'methpack', 		['label'] = 'Meth', 		['weight'] = 100, 		['type'] = 'item', 		['image'] = 'methpack.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['methbag'] 				 = {['name'] = 'methbag', 		['label'] = 'Meth Bag', 	['weight'] = 100, 		['type'] = 'item', 		['image'] = 'methbag.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},

['cokecard'] 				 = {['name'] = 'cokecard', 		['label'] = 'Credit Kart',   ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'cokecard.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['unpackedcoke'] 			 = {['name'] = 'unpackedcoke', 		['label'] = 'Unpacked Coke', ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'unpackedcoke.png', 		['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['cuttedcoke'] 				 = {['name'] = 'cuttedcoke', 		['label'] = 'Cutted Coke',   ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'cuttedcoke.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['coketoy'] 				 = {['name'] = 'coketoy', 		['label'] = 'Coke Toy',      ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'coketoy.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},

['weedlabcard'] 			 = {['name'] = 'weedlabcard', 		['label'] = 'Weed Lab Card', ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'weedlabcard.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['methlabcard'] 			 = {['name'] = 'methlabcard', 		['label'] = 'Meth Lab Card', ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'methlabcard.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
['cokelabcard'] 			 = {['name'] = 'cokelabcard', 		['label'] = 'Coke Lab Card', ['weight'] = 100, 		['type'] = 'item', 		['image'] = 'cokelabcard.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = nil},
```

#### **Installation is complete, enjoy!** <a href="#installation-is-complete-enjoy" id="installation-is-complete-enjoy"></a>


---

# 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://kavl.gitbook.io/kvl-store/scripts/drugs/qbcore-installation.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.
