-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.lua
More file actions
58 lines (46 loc) · 2.61 KB
/
Copy pathconfig.lua
File metadata and controls
58 lines (46 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Shared = {}
Shared.DevelopmentMode = false -- Set to true if you want to enable development mode. This will enable additional features for development purposes, such as the prop generator.
-- This module contains shared configuration settings for the dh_lib.
-- vRP support is currently in beta. Please report any issues you encounter, check before using in production environments.
-- The framework being used. Possible frameworks: "AUTO DETECT", "ESX", "QBCore", "QBOX" , "VRP" , "custom"
Shared.Framework = "AUTO DETECT"
-- The target system being used. Possible targets: "AUTO DETECT", "ox_target", "qb-target", "standalone", "custom" , "vrp"
Shared.Target = "AUTO DETECT"
-- Vehicle keys system being used. Possible vehicle keys: "AUTO DETECT", "qb-vehiclekeys", "qs-vehiclekeys", "ak47_vehiclekeys", "t1ger_keys", "Renewed-Vehiclekeys", "cd_garage", "custom"
Shared.VehicleKeys = "AUTO DETECT"
-- Fuel system being used. Possible fuel systems: "AUTO DETECT", "LegacyFuel", "ps-fuel", "ox_fuel", "cd_fuel", "rcore_fuel", "custom"
Shared.VehicleFuel = "AUTO DETECT"
-- Inventory system being used. Possible inventory systems: "AUTO DETECT", "ox_inventory", "qb-inventory", "tgiann-inventory", "ak47_inventory", "codem-inventory", "core_inventory", "qs-inventory", "custom"
Shared.InventorySystem = "AUTO DETECT"
-- Enable compatibility tests for the selected framework. !!WARNING!! This must be turned off in production environments.
Shared.CompatibilityTest = false
-- 1. Add new item dh_test
-- 2. Restart your server
-- 3. Join the server and type /dh_startTest to start the test
-- 4. Follow the instructions in the chat
-- 5. Check the server console for the test results
-- ESX
-- INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('dh_test', 'DEVHUB TEST', 1, 0, 1);
-- QBOX
-- ['dh_test'] = {['name'] = 'dh_test', ['label'] = 'Dh test', ['weight'] = 500, ['type'] = 'item', ['image'] = 'dh_test.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'DEVHUB TEST ITEM'},
-- qb-core/shared/items.lua
-- ["dh_test"] = {
-- ["name"] = "dh_test",
-- ["label"] = "DEVHUB TEST",
-- ["weight"] = 1,
-- ["type"] = "item",
-- ["image"] = "dh_test.png",
-- ["unique"] = false,
-- ["useable"] = true,
-- ["shouldClose"] = true,
-- ["combinable"] = nil,
-- ["description"] = ""
-- },
-- ox_inventory/data/items.lua
-- ['dh_test'] = {
-- label = 'DEVHUB TEST',
-- weight = 1,
-- stack = true,
-- close = true,
-- description = ""
-- },