-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.lua
More file actions
51 lines (45 loc) · 1.76 KB
/
config.lua
File metadata and controls
51 lines (45 loc) · 1.76 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
Config = {}
----------------------------------------------------------------
Config.Locale = 'de'
Config.Debug = true
Config.VersionChecker = true
----------------------------------------------------------------
-- !!! This function is clientside AND serverside !!!
Config.Notification = function(source, message, info)
if IsDuplicityVersion() then -- serverside
MSK.Notification(source, 'MSK Radio', message, info)
else -- clientside
MSK.Notification('MSK Radio', message, info)
end
end
----------------------------------------------------------------
Config.Framework = 'ESX' -- Set to 'ESX' or 'QBCore'
Config.VoiceSystem = 'pma' -- Set to 'saltychat', 'pma' or 'tokovoip'
Config.showMemberListButton = true -- Show Members in your Radio Channel
Config.showSpeakerButton = true -- Share radio talk with nearby players // Only for saltychat
Config.RadioAnimation = true -- Animation while radio is open
Config.RadioAnimationTalking = true -- Animation while talking
Config.DisconnectOnItemRemove = true -- Enable if you want to disconnect from radio if you dont have radio
----------------------------------------------------------------
Config.Command = {
enable = true, -- Use the Command to open the Radio
command = 'radio',
checkItem = true -- Enable if you want to check if the player has the Item
}
Config.Hotkey = {
enable = false, -- Use the Hotkey to open the Radio // Only works if Command is set to true
hotkey = 'J'
}
Config.Item = {
enable = true, -- Use the item to open the Radio
item = 'radio'
}
----------------------------------------------------------------
Config.EncryptedChannels = {
[1] = {'police'},
[1.1] = {'police'},
[2] = {'fib'},
[2.1] = {'fib'},
[3] = {'ambulance'},
[4] = {'doj'},
}