-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
65 lines (60 loc) · 3.2 KB
/
config.lua
File metadata and controls
65 lines (60 loc) · 3.2 KB
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
Config = {}
Config.debug = true -- Set to false to disable debug prints
Config.PoliceGarages = {
{
name = "Police Garage 1",
pedModel = `s_m_y_cop_01`,
pedCoords = vector3(441.9710, -1013.5137, 28.6264),
pedHeading = 186.8343,
carSpawns = {
vector4(446.5480, -1025.7572, 28.2394, 359.8884),
vector4(438.5597, -1026.1335, 28.3805, 4.5868),
vector4(431.3347, -1027.7228, 28.5253, 2.9451),
},
vehicleList = {
{model = "police", label = "Police Cruiser", rank = 1},
{model = "police2", label = "Police Interceptor", rank = 2},
{model = "sheriff", label = "Sheriff Vehicle", rank = 3},
}
},--[[
{
name = "Police Garage 2",
pedCoords = vector3(450.12, -975.56, 30.68),
pedHeading = 180.0,
carSpawns = {
vector4(446.5480, -1025.7572, 28.2394, 359.8884),
vector4(438.5597, -1026.1335, 28.3805, 4.5868),
vector4(431.3347, -1027.7228, 28.5253, 2.9451),
},
vehicleList = {
{model = "police", label = "Police Cruiser", rank = 1},
{model = "police2", label = "Police Interceptor", rank = 2},
{model = "sheriff", label = "Sheriff Vehicle", rank = 3}
}
}--]]
}
Config.BossMenus = {
{
job = "police",
label = "Police Boss Menu",
pedModel = `s_m_y_cop_01`,
pedCoords = vector3(461.8842, -981.1580, 30.6896),
pedHeading = 90.0,
minimumGrade = 4, -- Minimum grade allowed to open (set nil to skip)
requireBoss = true -- Set to false if non-boss grades should be able to use the menu
}
}
Config.Actions = {
-- Police actions
{ type = "client", event = "police:client:CuffPlayer", icon = "fas fa-hands", label = "Handfängsla", job = "police", item = 'Handcuff Person' },
{ type = "client", event = "police:client:EscortPlayer", icon = "fas fa-key", label = "Escort Person", job = "police" },
{ type = "client", event = "police:client:PutPlayerInVehicle", icon = "fas fa-chevron-circle-left", label = "Put Person In Vehicle", job = "police" },
{ type = "client", event = "police:client:SetPlayerOutVehicle", icon = "fas fa-chevron-circle-right", label = "Set Person Out Of Vehicle", job = "police" },
{ type = "client", event = "police:client:SeizeDriverLicense", icon = "fas fa-chevron-circle-right", label = "Seize Driver License Of Person", job = "police" },
{ type = "client", event = "police:client:JailPlayer", icon = "fas fa-chevron-circle-right", label = "Send Person To Jail", job = "police" },
{ type = "server", event = "police:server:SearchPlayer", icon = "fas fa-chevron-circle-right", label = "Search Person", job = "police" },
-- Ambulance actions
{ type = "client", event = "hospital:client:RevivePlayer", icon = "fas fa-chevron-circle-right", label = "Revive Person", job = "ambulance" },
{ type = "client", event = "hospital:client:CheckStatus", icon = "fas fa-chevron-circle-right", label = "Check Person Health", job = "ambulance" },
{ type = "client", event = "hospital:client:TreatWounds", icon = "fas fa-chevron-circle-right", label = "Treat Wounds", job = "ambulance" },
}