forked from Samuels-Development/sd-aipolice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
101 lines (95 loc) · 2.36 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
Config = {}
Config.MaxWantedLevel = 5
Config.RemoveVehicleGenerators = true --Remove PD vehicle generators when pd go online
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)
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
}
}