-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
config.lua
44 lines (33 loc) · 1.22 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
-----------------------------------------------------------------
-- Visit https://docs.acscripts.dev/radio for documentation
-----------------------------------------------------------------
return {
-- Enable usable item for opening the radio
useUsableItem = true,
-- Enable command for opening the radio
useCommand = true,
-- Default keybind for the '/radio' command
commandKey = '',
-- Enable disconnecting from frequency when there is no radio item left in player's inventory
disconnectWithoutRadio = true,
-- Percentage of volume to increase/decrease per step
volumeStep = 10,
-- Frequency decimal precision
frequencyStep = 0.01,
-- Maximum amount of available frequencies (starting from 0)
maximumFrequencies = 1000,
-- Frequency restrictions for channels
restrictedChannels = {
[10] = 'police',
[11] = {
police = 2,
},
},
-- ! The following options will override pma-voice convars
-- Enable radio voice effect (voice sounds like on a real radio)
radioEffect = true,
-- Enable animation while talking on radio
radioAnimation = true,
-- Default keybind for talking on radio
radioTalkKey = 'LMENU',
}