-
Notifications
You must be signed in to change notification settings - Fork 0
/
job_tablet.lua
161 lines (161 loc) · 9.39 KB
/
job_tablet.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
Config = {
language = 'en',
useQbCore = false, -- if you are using ESX, change this value to false. If you are using QBCore, set value to true
qbCoreExportName = 'qb-core', -- for security reasons you can customise the qb-core export name. Attention if you change it, be sure you have also change it in qbCore
esxExtendedName = 'es_extended', -- How you have named your es_extended mod, if you have renamed it.
esxEventNames = { -- used esx events can here renamed, if you use a anti cheat tool
setJob = 'esx:setJob',
playerLoaded = 'esx:playerLoaded',
sendMessage = 'esx:showNotification',
addGroupCommand = 'es:addGroupCommand',
},
viewRangeForMarkers = 100, -- how far ranges of markers are visible
animation = true, -- Players get a Tablet inclusive animation when he open Job Net
playerServerSlots = 128, -- How many Players can play on your server
unemployedJob = { -- what is your unemployed job
name = 'unemployed',
grade = 0,
},
jobs = {
ambulance = { -- On Duty configuration
isOnDuty = true,
features = {
staff = true, -- can manage stuff
patrol = true, -- has control center and patrols
},
canOpenEverywhere = true, -- can open Job Net from everywhere
inEmergencyVehicle = false, -- can open only in emergency vehicles
positionsStyleConfig = { -- If you want to open Job Net on PC, you can configure it here
blip = {
enable = false, -- will display on map
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 499, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.0, -- scale of blip
color = 1, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
name = 'PC', -- Name of the Blip
},
marker = {
enable = false, -- will displayed
radius = 3.0, -- radius of marker
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
scale = 1.0, -- scale of marker
rgba = { 255, 0, 0, 155 }, -- color of marker
subMarker = {
marker = 21, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 1.0, -- z position of the subMarker
},
},
},
radiusToOpen = 2.0, -- Radius where Job can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and employees can open Job Net
--vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
vehicleWhereCanOpen = { -- additional vehicles where Job Net can be opened
--'police2'
},
keyToOpen = 57, -- Key when you want to open Job Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
toggleJob = 'offambulance', -- what is the off duty job name of this job. Only used in ESX
},
offambulance = {
isOnDuty = false,
toggleJob = 'ambulance', -- what is the on duty job name of this job. Only used in ESX
canOpenEverywhere = false, -- off duty employees can open the tablet everywhere
radiusToOpen = 2.0, -- Radius where Job can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and employees can open Job Net
--vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
positionsStyleConfig = { -- If you want to open Job Net on PC, you can configure it here
blip = {
enable = false, -- will display on map
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 499, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.0, -- scale of blip
color = 1, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
name = 'PC', -- Name of the Blip
},
marker = {
enable = false, -- will displayed
radius = 3.0, -- radius of marker
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
scale = 1.0, -- scale of marker
rgba = { 255, 0, 0, 155 }, -- color of marker
subMarker = {
marker = 21, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 1.0, -- z position of the subMarker
},
},
},
keyToOpen = 57, -- Key when you want to open Job Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
},
burgershot = { -- On Duty configuration
isOnDuty = true,
features = {
staff = true, -- can mange stuff
patrol = false, -- has control center and patrols
},
canOpenEverywhere = true, -- can open Job Net from everywhere
inEmergencyVehicle = false, -- can open only in emergency vehicles
positionsStyleConfig = { -- If you want to open Job Net on PC, you can configure it here
blip = {
enable = false, -- will display on map
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 499, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.0, -- scale of blip
color = 1, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
name = 'PC', -- Name of the Blip
},
marker = {
enable = false, -- will displayed
radius = 3.0, -- radius of marker
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
scale = 1.0, -- scale of marker
rgba = { 255, 0, 0, 155 }, -- color of marker
subMarker = {
marker = 21, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 1.0, -- z position of the subMarker
},
},
},
radiusToOpen = 2.0, -- Radius where Job can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and employees can open Job Net
--vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
vehicleWhereCanOpen = { -- additional vehicles where Job Net can be opened
--'police2'
},
keyToOpen = 57, -- Key when you want to open Job Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
toggleJob = 'offburgershot', -- what is the off duty job name of this job. Only used in ESX
},
offburgershot = {
isOnDuty = false,
toggleJob = 'burgershot', -- what is the on duty job name of this job. Only used in ESX
canOpenEverywhere = true, -- off duty employees can open the tablet everywhere
radiusToOpen = 2.0, -- Radius where Job can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and employees can open Job Net
--vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
positionsStyleConfig = { -- If you want to open Job Net on PC, you can configure it here
blip = {
enable = false, -- will display on map
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 499, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.0, -- scale of blip
color = 1, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
name = 'PC', -- Name of the Blip
},
marker = {
enable = false, -- will displayed
radius = 3.0, -- radius of marker
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
scale = 1.0, -- scale of marker
rgba = { 255, 0, 0, 155 }, -- color of marker
subMarker = {
marker = 21, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 1.0, -- z position of the subMarker
},
},
},
keyToOpen = 57, -- Key when you want to open Job Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
},
}
}