Installations
Remember that this resource has verified DMCA protection, and its illegal use or distribution could imply a claim for protection of Title 17 of Chapter 512 (c) (3) of the Digital Millennium Copyright Act


It is important to use the dependencies that are indicated in this step, do not use others, otherwise you will receive critical errors
The only requirement for this script is to have one of these two inventories, more compatibilities will be added soon
Inventories | Download links and stores |
---|---|
qs-inventory | |
qb-inventory | |
ox_inventory |

It is important to put the resources in the correct order, below qb-core and inventory system
In order for the resource to start correctly and not receive any errors, we must start the resources in the following order
1
ensure qb-inventory -- [or your inventory system]
2
ensure qs-camera

In this case, the database and items of this resource will be a metadata, therefore it will not work with the default esx inventory, you will have to add the items in your core or inventory depending on the system you use
Here is a list of items for qb-inventory, qs-inventory or ox_inventory below
qb-inventory items
1
["camera"] = {
2
["name"] = "camera",
3
["label"] = "Camera",
4
["weight"] = 100,
5
["type"] = "item",
6
["image"] = "camera.png",
7
["unique"] = true,
8
["useable"] = true,
9
["shouldClose"] = true,
10
["combinable"] = nil,
11
["description"] = "A small and sweet casting."
12
},
13
14
["photo"] = {
15
["name"] = "photo",
16
["label"] = "Photo",
17
["weight"] = 1,
18
["type"] = "item",
19
["image"] = "photo.png",
20
["unique"] = true,
21
["useable"] = true,
22
["shouldClose"] = true,
23
["combinable"] = nil,
24
["description"] = "A small and sweet casting."
25
},
26
27
["camera_module"] = {
28
["name"] = "camera_module",
29
["label"] = "Camera module",
30
["weight"] = 20,
31
["type"] = "item",
32
["image"] = "camera_module.png",
33
["unique"] = false,
34
["useable"] = true,
35
["shouldClose"] = true,
36
["combinable"] = nil,
37
["description"] = "A small and sweet casting."
38
},
39
40
["broken_camera"] = {
41
["name"] = "broken_camera",
42
["label"] = "Broken Camera",
43
["weight"] = 100,
44
["type"] = "item",
45
["image"] = "broken_camera.png",
46
["unique"] = true,
47
["useable"] = true,
48
["shouldClose"] = true,
49
["combinable"] = nil,
50
["description"] = "A small and sweet casting."
51
},
ox_inventory items
["photo"] = {
label = "Photo",
weight = 1,
stack = false,
close = false,
consume = 0,
client = {
export = 'qs-camera.usePhoto',
},
},
["camera"] = {
label = "Camera",
weight = 1,
stack = false,
close = true,
description = nil
},
["broken_camera"] = {
label = "Broken Camera",
weight = 1,
stack = false,
close = true,
description = nil
},
["camera_module"] = {
label = "Camera module",
weight = 1,
stack = false,
close = true,
description = nil
},
Last modified 1mo ago