Configuration
config.lua:
MS = {}
MS.System = {
Framework = "esx", -- || auto | esx | qb || --
VoiceSystem = "salty", -- || auto | pma | salty || --
Debug = false
}
MS.UI = {
HideWhenDisconnected = false, -- true = hide entire list when not in radio, false = show "Nicht verbunden"
GrayInactiveNames = true, -- true = gray names for non-speakers (default), false = always white names
DisconnectedText = "Nicht verbunden"
}
MS.DefaultFrequencyName = "Funkliste [%sHZ]" -- %s will be replaced with frequency
MS.RegisteredFrequencies = {
[1.00] = {
name = "Police Radio [%sHZ]" -- %s will be replaced with frequency
},
[2.00] = {
name = "Sheriff Radio"
}
}
MS.Commands = {
ChangePrefix = {
enabled = true,
SavePrefix = true, -- save player prefixes between restarts
commands = {
setprefix = "setradiotag",
resetprefix = "resetradiotag"
},
blacklist = {
">", -- blacklist for words that cannot be used as a prefix
"<"
},
permissions = { -- only use this function if you know what you are doing (no support for this function)
enabled = false,
isAllowed = function(source)
return true
end
}
},
Position = {
enabled = true,
commands = {
setposition = "radioUIpos", -- change the position of the radiolist (save with Esc)
resetPos = "radioUIreset" -- reset position to default
}
}
}Last updated