forked from qbcore-framework/qb-hud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
145 lines (139 loc) · 4.33 KB
/
config.lua
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
Config = {}
Config.OpenMenu = 'I' -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
Config.StressChance = 0.1 -- Default: 10% -- Percentage Stress Chance When Shooting (0-1)
Config.UseMPH = true -- If true speed math will be done as MPH, if false KPH will be used (YOU HAVE TO CHANGE CONTENT IN STYLES.CSS TO DISPLAY THE CORRECT TEXT)
Config.MinimumStress = 50 -- Minimum Stress Level For Screen Shaking
Config.MinimumSpeedUnbuckled = 50 -- Going Over This Speed Will Cause Stress
Config.MinimumSpeed = 100 -- Going Over This Speed Will Cause Stress
Config.DisablePoliceStress = true -- If true will disable stress for people with the police job
-- Stress
Config.WhitelistedWeaponArmed = { -- weapons specifically whitelisted to not show armed mode
-- miscellaneous
`weapon_petrolcan`,
`weapon_hazardcan`,
`weapon_fireextinguisher`,
-- melee
`weapon_dagger`,
`weapon_bat`,
`weapon_bottle`,
`weapon_crowbar`,
`weapon_flashlight`,
`weapon_golfclub`,
`weapon_hammer`,
`weapon_hatchet`,
`weapon_knuckle`,
`weapon_knife`,
`weapon_machete`,
`weapon_switchblade`,
`weapon_nightstick`,
`weapon_wrench`,
`weapon_battleaxe`,
`weapon_poolcue`,
`weapon_briefcase`,
`weapon_briefcase_02`,
`weapon_garbagebag`,
`weapon_handcuffs`,
`weapon_bread`,
`weapon_stone_hatchet`,
-- throwables
`weapon_grenade`,
`weapon_bzgas`,
`weapon_molotov`,
`weapon_stickybomb`,
`weapon_proxmine`,
`weapon_snowball`,
`weapon_pipebomb`,
`weapon_ball`,
`weapon_smokegrenade`,
`weapon_flare`
}
Config.WhitelistedWeaponStress = {
`weapon_petrolcan`,
`weapon_hazardcan`,
`weapon_fireextinguisher`
}
Config.Intensity = {
["blur"] = {
[1] = {
min = 50,
max = 60,
intensity = 1500,
},
[2] = {
min = 60,
max = 70,
intensity = 2000,
},
[3] = {
min = 70,
max = 80,
intensity = 2500,
},
[4] = {
min = 80,
max = 90,
intensity = 2700,
},
[5] = {
min = 90,
max = 100,
intensity = 3000,
},
}
}
Config.EffectInterval = {
[1] = {
min = 50,
max = 60,
timeout = math.random(50000, 60000)
},
[2] = {
min = 60,
max = 70,
timeout = math.random(40000, 50000)
},
[3] = {
min = 70,
max = 80,
timeout = math.random(30000, 40000)
},
[4] = {
min = 80,
max = 90,
timeout = math.random(20000, 30000)
},
[5] = {
min = 90,
max = 100,
timeout = math.random(15000, 20000)
}
}
Config.Menu = {
isOutMapChecked = false, -- isOutMapChecked
isOutCompassChecked = false, -- isOutMapChecked
isCompassFollowChecked = true, -- isCompassFollowChecked
isOpenMenuSoundsChecked = true, -- isOpenMenuSoundsChecked
isResetSoundsChecked = true, -- isResetSoundsChecked
isListSoundsChecked = true, -- isListSoundsChecked
isMapNotifChecked = true, -- isMapNotifChecked
isLowFuelChecked = true, -- isLowFuelChecked
isCinematicNotifChecked = true, -- isCinematicNotifChecked
isDynamicHealthChecked = true, -- isDynamicHealthChecked
isDynamicArmorChecked= true, -- isDynamicArmorChecked
isDynamicHungerChecked = true, -- isDynamicHungerChecked
isDynamicThirstChecked = true, -- isDynamicThirstChecked
isDynamicStressChecked = true, -- isDynamicStressChecked
isDynamicOxygenChecked = true, -- isDynamicOxygenChecked
isChangeFPSChecked = true, -- isChangeFPSChecked
isHideMapChecked = false, -- isHideMapChecked
isToggleMapBordersChecked = true, -- isToggleMapBordersChecked
isDynamicEngineChecked = true, -- isDynamicEngineChecked
isDynamicNitroChecked = true, -- isDynamicNitroChecked
isChangeCompassFPSChecked = true, -- isChangeCompassFPSChecked
isCompassShowChecked = true, -- isShowCompassChecked
isShowStreetsChecked = true, -- isShowStreetsChecked
isPointerShowChecked = true, -- isPointerShowChecked
isDegreesShowChecked = true, -- isDegreesShowChecked
isCineamticModeChecked = false, -- isCineamticModeChecked
isToggleMapShapeChecked = 'square', -- isToggleMapShapeChecked
}