-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
42 lines (38 loc) · 926 Bytes
/
config.lua
File metadata and controls
42 lines (38 loc) · 926 Bytes
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
Config = {}
Config.Locales = {}
Config.Language = "en" -- en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi, no
Config.radioName = "radio" -- item name
Config.defaultVolume = 50 -- default volume of the radio, 0 - 100
Config.RadioProp = 'prop_cs_hand_radio'
-- Notification function, you can replace this with your own notification system
-- type: 'error' or 'success'
Config.notify = function(type, message)
lib.notify({
title = 'Radio',
description = message,
type = type,
})
end
Config.jobChannels = { -- channels where only designated jobs can participate
[1] = {
frequency = {
"1",
"2",
"3",
"4",
"5"
},
jobs = {
"police",
"bcso"
}
},
[2] = {
frequency = {
"2.0"
},
jobs = {
"ambulance"
}
}
}