-
Notifications
You must be signed in to change notification settings - Fork 209
/
config.lua
177 lines (169 loc) · 6.07 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
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 Unbuckled Will Cause Stress
Config.MinimumSpeed = 100 -- Going Over This Speed While Buckled Will Cause Stress
Config.DisableStress = false -- If true will disable stress completely for all players
-- Stress
Config.WhitelistedWeaponArmed = { -- Disable showing armed icon from weapons in this table
-- miscellaneous
[`weapon_petrolcan`] = true,
[`weapon_hazardcan`] = true,
[`weapon_fireextinguisher`] = true,
-- melee
[`weapon_dagger`] = true,
[`weapon_bat`] = true,
[`weapon_bottle`] = true,
[`weapon_crowbar`] = true,
[`weapon_flashlight`] = true,
[`weapon_golfclub`] = true,
[`weapon_hammer`] = true,
[`weapon_hatchet`] = true,
[`weapon_knuckle`] = true,
[`weapon_knife`] = true,
[`weapon_machete`] = true,
[`weapon_switchblade`] = true,
[`weapon_nightstick`] = true,
[`weapon_wrench`] = true,
[`weapon_battleaxe`] = true,
[`weapon_poolcue`] = true,
[`weapon_briefcase`] = true,
[`weapon_briefcase_02`] = true,
[`weapon_garbagebag`] = true,
[`weapon_handcuffs`] = true,
[`weapon_bread`] = true,
[`weapon_stone_hatchet`] = true,
-- throwables
[`weapon_grenade`] = true,
[`weapon_bzgas`] = true,
[`weapon_molotov`] = true,
[`weapon_stickybomb`] = true,
[`weapon_proxmine`] = true,
[`weapon_snowball`] = true,
[`weapon_pipebomb`] = true,
[`weapon_ball`] = true,
[`weapon_smokegrenade`] = true,
[`weapon_flare`] = true
}
Config.WhitelistedWeaponStress = { -- Disable gaining stress from weapons in this table
[`weapon_petrolcan`] = true,
[`weapon_hazardcan`] = true,
[`weapon_fireextinguisher`] = true
}
Config.VehClassStress = { -- Enable/Disable gaining stress from vehicle classes in this table
['0'] = true, -- Compacts
['1'] = true, -- Sedans
['2'] = true, -- SUVs
['3'] = true, -- Coupes
['4'] = true, -- Muscle
['5'] = true, -- Sports Classics
['6'] = true, -- Sports
['7'] = true, -- Super
['8'] = true, -- Motorcycles
['9'] = true, -- Off Road
['10'] = true, -- Industrial
['11'] = true, -- Utility
['12'] = true, -- Vans
['13'] = false, -- Cycles
['14'] = false, -- Boats
['15'] = false, -- Helicopters
['16'] = false, -- Planes
['18'] = false, -- Emergency
['19'] = false, -- Military
['20'] = false, -- Commercial
['21'] = false -- Trains
}
Config.WhitelistedVehicles = { -- Disable gaining stress from speeding in any vehicle in this table
--[`adder`] = true
}
Config.WhitelistedJobs = { -- Disable stress completely for players with matching job or job type
['leo'] = true,
['ambulance'] = true
}
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
isCinematicModeChecked = false, -- isCinematicModeChecked
isToggleMapShapeChecked = 'square', -- isToggleMapShapeChecked
}