forked from overextended/ox_inventory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
39 lines (27 loc) · 939 Bytes
/
config.lua
File metadata and controls
39 lines (27 loc) · 939 Bytes
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
Config = {}
Config.Locale = 'en'
if ox.server then
Config.DefaultWeight = ESX.GetConfig().MaxWeight
-- Number of slots in the player inventory
Config.PlayerSlots = 50
-- Check the latest available version
Config.CheckVersion = false
-- When should unused inventories be wiped
Config.DBCleanup = '6 MONTH'
-- Enable integrated logging
Config.Logs = false
else
-- Set the keybinds for primary, secondary, and hotbar
Config.Keys = {'F2', 'K', 'TAB'}
-- Blur the screen while the inventory is open
Config.EnableBlur = true
-- Reload empty weapons automatically
Config.AutoReload = false
-- Adds compatibility for qtarget (https://github.com/QuantusRP/qtarget)
Config.qtarget = false
end
-- If vehicle plates are stored with a trailing space, set to false (i.e. `XXX 000 `)
Config.TrimPlate = true
-- Restrict the purchase of firearms with a license
Config.WeaponsLicense = true
Config.WeaponsLicensePrice = 5000