This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.lua
111 lines (104 loc) · 3.17 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
Config = {}
Config.MaxWantedLevel = 5
Config.RemoveVehicleGenerators = true --Remove PD vehicle generators when pd go online
Config.EnablePursitOnlyVehicleOccurence = true
Config.PursiutCarModulo = 3 -- Some cop cars will ONLY chase and ram the suspect(policemen will not exit the vehicle and shoot),
-- this value modifies the occurrence by way of vehicleId modulo.
-- Putting it plainly, if:
-- PursiutCarModulo = 1: 100%(1/1) of cop cars will ONLY do pursuit
-- PursiutCarModulo = 2: 50%(1/2) of cop cars will ONLY do pursuit
-- PursiutCarModulo = 3: 33%(1/3) of cop cars will ONLY do pursuit
-- PursiutCarModulo = 100: 1%(1/100) of cop cars will ONLY do pursuit
Config.PoliceJobs = {
[1] = {
job = 'police',
dutyCheck = true,
},
--[2] = {
-- job = 'bcso' --If you have multiple police jobs, just uncomment this, and follow the same pattern,
-- dutyCheck = true,
--},
--[3] = {
-- job = 'sasp' --If you have multiple police jobs, just uncomment this, and follow the same pattern,
-- dutyCheck = true,
--},
}
--To trigger it you can use this event: or the event handler below
--TriggerEvent('phade-aipolice:client:ApplyWantedLevel', level)
-- The Export is recommended over this, eventhandlers will not always work.
Config.PoliceEventHandlers = {
-- [1] = {
-- event = 'electronickit:UseElectronickit',
-- wantedLevel = 4,
-- },
-- [2] = {
-- event = 'lockpicks:UseLockpick',
-- wantedLevel = 2,
-- },
}
Config.DispatchTypes = {
[0] = {
dispatchType = 'DT_Invalid',
enable = true -- set to false to turn off
},
[1] = {
dispatchType = 'DT_PoliceAutomobile',
enable = true
},
[2] = {
dispatchType = 'DT_PoliceHelicopter',
enable = true
},
[3] = {
dispatchType = 'DT_FireDepartment',
enable = true
},
[4] = {
dispatchType = 'DT_SwatAutomobile',
enable = true
},
[5] = {
dispatchType = 'DT_AmbulanceDepartment',
enable = true
},
[6] = {
dispatchType = 'DT_PoliceRiders',
enable = true
},
[7] = {
dispatchType = 'DT_PoliceVehicleRequest',
enable = true
},
[8] = {
dispatchType = 'DT_PoliceRoadBlock',
enable = true
},
[9] = {
dispatchType = 'DT_PoliceAutomobileWaitPulledOver',
enable = true
},
[10] = {
dispatchType = 'DT_PoliceAutomobileWaitCruising',
enable = true
},
[11] = {
dispatchType = 'DT_Gangs',
enable = true
},
[12] = {
dispatchType = 'DT_SwatHelicopter',
enable = true
},
[13] = {
dispatchType = 'DT_PoliceBoat',
enable = true
},
[14] = {
dispatchType = 'DT_ArmyVehicle',
enable = true
},
[15] = {
dispatchType = 'DT_BikerBackup',
enable = true
}
}