-
Notifications
You must be signed in to change notification settings - Fork 347
/
config.lua
274 lines (255 loc) · 10.4 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
Config = {}
Config.UseTarget = GetConvar('UseTarget', 'false') == 'true' -- Use qb-target interactions (don't change this, go to your server.cfg and add `setr UseTarget true` to use this and just that from true to false or the other way around)
Config.PauseMapText = '' -- Text shown above the map when ESC is pressed. If left empty 'FiveM' will appear
Config.HarnessUses = 20
Config.DamageNeeded = 100.0 -- amount of damage till you can push your vehicle. 0-1000
Config.Logging = 'discord' -- fivemanage
Config.AFK = {
ignoredGroups = {
['mod'] = true,
['admin'] = true,
['god'] = true
},
secondsUntilKick = 1000000, -- AFK Kick Time Limit (in seconds)
kickInCharMenu = false -- Set to true if you want to kick players for being AFK even when they are in the character menu.
}
Config.HandsUp = {
command = 'hu',
keybind = 'X',
controls = { 24, 25, 47, 58, 59, 63, 64, 71, 72, 75, 140, 141, 142, 143, 257, 263, 264 }
}
Config.Binoculars = {
zoomSpeed = 10.0, -- camera zoom speed
storeBinocularsKey = 177 -- backspace by default
}
Config.AIResponse = {
wantedLevels = false, -- if true, you will recieve wanted levels
dispatchServices = { -- AI dispatch services
[1] = false, -- Police Vehicles
[2] = false, -- Police Helicopters
[3] = false, -- Fire Department Vehicles
[4] = false, -- Swat Vehicles
[5] = false, -- Ambulance Vehicles
[6] = false, -- Police Motorcycles
[7] = false, -- Police Backup
[8] = false, -- Police Roadblocks
[9] = false, -- PoliceAutomobileWaitPulledOver
[10] = false, -- PoliceAutomobileWaitCruising
[11] = false, -- Gang Members
[12] = false, -- Swat Helicopters
[13] = false, -- Police Boats
[14] = false, -- Army Vehicles
[15] = false -- Biker Backup
}
}
-- To Set This Up visit https://forum.cfx.re/t/how-to-updated-discord-rich-presence-custom-image/157686
Config.Discord = {
isEnabled = false, -- If set to true, then discord rich presence will be enabled
applicationId = '00000000000000000', -- The discord application id
iconLarge = 'logo_name', -- The name of the large icon
iconLargeHoverText = 'This is a Large icon with text', -- The hover text of the large icon
iconSmall = 'small_logo_name', -- The name of the small icon
iconSmallHoverText = 'This is a Small icon with text', -- The hover text of the small icon
updateRate = 60000, -- How often the player count should be updated
showPlayerCount = true, -- If set to true the player count will be displayed in the rich presence
maxPlayers = 48, -- Maximum amount of players
buttons = {
{
text = 'First Button!',
url = 'fivem://connect/localhost:30120'
},
{
text = 'Second Button!',
url = 'fivem://connect/localhost:30120'
}
}
}
Config.Density = {
parked = 0.8,
vehicle = 0.8,
multiplier = 0.8,
peds = 0.8,
scenario = 0.8
}
Config.Disable = {
hudComponents = { 1, 2, 3, 4, 7, 9, 13, 14, 19, 20, 21, 22 }, -- Hud Components: https://docs.fivem.net/natives/?_0x6806C51AD12B83B8
controls = { 37 }, -- Controls: https://docs.fivem.net/docs/game-references/controls/
displayAmmo = true, -- false disables ammo display
ambience = false, -- disables distance sirens, distance car alarms, flight music, etc
idleCamera = true, -- disables the idle cinematic camera
vestDrawable = false, -- disables the vest equipped when using heavy armor
pistolWhipping = true, -- disables pistol whipping
driveby = false, -- disables driveby
}
Config.RelieveWeedStress = math.random(15, 20) -- stress relief amount (100 max)
Config.Consumables = {
eat = { -- default food items
['sandwich'] = math.random(35, 54),
['tosti'] = math.random(40, 50),
['twerks_candy'] = math.random(35, 54),
['snikkel_candy'] = math.random(40, 50)
},
drink = { -- default drink items
['water_bottle'] = math.random(35, 54),
['kurkakola'] = math.random(35, 54),
['coffee'] = math.random(40, 50)
},
alcohol = { -- default alcohol items
['whiskey'] = math.random(20, 30),
['beer'] = math.random(30, 40),
['vodka'] = math.random(20, 40),
},
custom = { -- put any custom items here
-- ['newitem'] = {
-- progress = {
-- label = 'Using Item...',
-- time = 5000
-- },
-- animation = {
-- animDict = 'amb@prop_human_bbq@male@base',
-- anim = 'base',
-- flags = 8,
-- },
-- prop = {
-- model = false,
-- bone = false,
-- coords = false, -- vector 3 format
-- rotation = false, -- vector 3 format
-- },
-- replenish = {'''
-- type = 'Hunger', -- replenish type 'Hunger'/'Thirst' / false
-- replenish = math.random(20, 40),
-- isAlcohol = false, -- if you want it to add alcohol count
-- event = false, -- 'eventname' if you want it to trigger an outside event on use useful for drugs
-- server = false -- if the event above is a server event
-- }
-- }
}
}
Config.Fireworks = {
delay = 5, -- time in s till it goes off
items = { -- firework items
'firework1',
'firework2',
'firework3',
'firework4'
}
}
Config.BlacklistedScenarios = {
types = {
'WORLD_VEHICLE_MILITARY_PLANES_SMALL',
'WORLD_VEHICLE_MILITARY_PLANES_BIG',
'WORLD_VEHICLE_AMBULANCE',
'WORLD_VEHICLE_POLICE_NEXT_TO_CAR',
'WORLD_VEHICLE_POLICE_CAR',
'WORLD_VEHICLE_POLICE_BIKE'
},
groups = {
2017590552,
2141866469,
1409640232,
`ng_planes`
}
}
Config.BlacklistedVehs = {
[`shamal`] = true,
[`luxor`] = true,
[`luxor2`] = true,
[`jet`] = true,
[`lazer`] = true,
[`buzzard`] = true,
[`buzzard2`] = true,
[`annihilator`] = true,
[`savage`] = true,
[`titan`] = true,
[`rhino`] = true,
[`firetruck`] = true,
[`mule`] = true,
[`maverick`] = true,
[`blimp`] = true,
[`airtug`] = true,
[`camper`] = true,
[`hydra`] = true,
[`oppressor`] = true,
[`technical3`] = true,
[`insurgent3`] = true,
[`apc`] = true,
[`tampa3`] = true,
[`trailersmall2`] = true,
[`halftrack`] = true,
[`hunter`] = true,
[`vigilante`] = true,
[`akula`] = true,
[`barrage`] = true,
[`khanjali`] = true,
[`caracara`] = true,
[`blimp3`] = true,
[`menacer`] = true,
[`oppressor2`] = true,
[`scramjet`] = true,
[`strikeforce`] = true,
[`cerberus`] = true,
[`cerberus2`] = true,
[`cerberus3`] = true,
[`scarab`] = true,
[`scarab2`] = true,
[`scarab3`] = true,
[`rrocket`] = true,
[`ruiner2`] = true,
[`deluxo`] = true,
[`cargoplane2`] = true,
[`voltic2`] = true
}
Config.BlacklistedWeapons = {
[`WEAPON_RAILGUN`] = true,
}
Config.BlacklistedPeds = {
[`s_m_y_ranger_01`] = true,
[`s_m_y_sheriff_01`] = true,
[`s_m_y_cop_01`] = true,
[`s_f_y_sheriff_01`] = true,
[`s_f_y_cop_01`] = true,
[`s_m_y_hwaycop_01`] = true
}
Config.Objects = { -- for object removal
{ coords = vector3(266.09, -349.35, 44.74), heading = 0, length = 200, width = 200, model = 'prop_sec_barier_02b' },
{ coords = vector3(285.28, -355.78, 45.13), heading = 0, length = 200, width = 200, model = 'prop_sec_barier_02a' },
}
-- You may add more than 2 selections and it will bring up a menu for the player to select which floor be sure to label each section though
Config.Teleports = {
[1] = { -- Elevator @ labs
[1] = { -- up
poly = { coords = vector3(3540.74, 3675.59, 20.99), heading = 167.5, length = 2, width = 2 },
allowVeh = false, -- whether or not to allow use in vehicle
label = false -- set this to a string for a custom label or leave it false to keep the default. if more than 2 options, label all options
},
[2] = { -- down
poly = { coords = vector3(3540.74, 3675.59, 28.11), heading = 172.5, length = 2, width = 2 },
allowVeh = false,
label = false
}
},
[2] = { --Coke Processing Enter/Exit
[1] = {
poly = { coords = vector3(909.49, -1589.22, 30.51), heading = 92.24, length = 2, width = 2 },
allowVeh = false,
label = '[E] Enter Coke Processing'
},
[2] = {
poly = { coords = vector3(1088.81, -3187.57, -38.99), heading = 181.7, length = 2, width = 2 },
allowVeh = false,
label = '[E] Leave'
}
}
}
Config.CarWash = {
dirtLevel = 0.1, -- threshold for the dirt level to be counted as dirty
defaultPrice = 20, -- default price for the carwash
locations = {
[1] = { coords = vector3(174.81, -1736.77, 28.87), length = 7.0, width = 8.8, heading = 359 }, -- South Los Santos Carson Avenue
[2] = { coords = vector3(25.2, -1391.98, 28.91), length = 6.6, width = 8.2, heading = 0 }, -- South Los Santos Innocence Boulevard
[3] = { coords = vector3(-74.27, 6427.72, 31.02), length = 9.4, width = 8, heading = 315 }, -- Paleto Bay Boulevard
[4] = { coords = vector3(1362.69, 3591.81, 34.5), length = 6.4, width = 8, heading = 21 }, -- Sandy Shores
[5] = { coords = vector3(-699.84, -932.68, 18.59), length = 11.8, width = 5.2, heading = 0 } -- Little Seoul Gas Station
}
}