-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtbm_authority_net_medic.lua
95 lines (95 loc) · 5.18 KB
/
tbm_authority_net_medic.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
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 Authority Net
playerServerSlots = 128, -- How many Players can play on your server
unemployedJob = { -- what is your unemployed job
name = 'unemployed',
grade = 0,
},
bloodTypes = {
'A+',
'A-',
'B+',
'B-',
'AB+',
'AB-',
'0-',
'0+',
},
TBMAuthorityNetIsActive = true, -- Enable if you are using TBM Authority Net for Police, See: https://thebusters-shop.tebex.io/package/5250858
ambulance = { -- On Duty configuration
jobName = 'ambulance', -- what is the name of the ambulance job, default is ambulance
canOpenEverywhere = true, -- can open Authority Net from everywhere
inEmergencyVehicle = true, -- can open only in emergency vehicles
positionsStyleConfig = { -- If you want to open Authority Net on PC, you can configure it here
blip = {
enable = true, -- 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 = true, -- 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 Authority can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and Ambulance can open Authority Net
vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
vehicleWhereCanOpen = { -- additional vehicles where Authority Net can be opened
--'ambulance'
},
keyToOpen = 57, -- Key when you want to open Authority Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
toggleJob = 'offambulance', -- what is the off duty job name of your ambulance. Only used in ESX
},
offambulance = {
toggleJob = 'ambulance', -- default is "ambulance" change it if your job name is different for ambulance
canOpenEverywhere = true, -- off duty employees can open the tablet everywhere
radiusToOpen = 2.0, -- Radius where Authority can be opened on configured positions
positionsWhereCanOpen = { -- Position where you have for example your PC and Ambulance can open Authority Net
vector3(-1281.9956054688,-3310.4956054688,12.945037841797)
},
positionsStyleConfig = { -- If you want to open Authority Net on PC, you can configure it here
blip = {
enable = true, -- 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 = true, -- 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 Authority Net from everywhere. See: https://docs.fivem.net/docs/game-references/controls/
}
}