MSK Scripts
TebexGithubDiscordMusiker15
  • MSK Scripts
    • Welcome
  • Common Issues
    • Keymaster
  • Miscellaneous
    • Change Notifications
  • Scripts
    • MSK Core
      • Installation
      • Functions
        • Client
          • Ace Permission
          • Commands
          • Coords
          • Player
          • Points
          • Request
          • Scaleform
          • UI
            • Input
            • Numpad
            • Progressbar
            • TextUI
          • Vehicle
        • Shared
          • String
          • Math
          • Table
          • Timeout
          • Vector
        • Server
          • Ace Permission
          • Ban System
          • Commands
          • Player
          • Scaleform
          • UI
            • Input
            • Numpad
            • Progressbar
            • TextUI
    • MSK Banking
      • Installation
        • Paycheck Transaction
      • Config
      • Exports
        • Client
        • Server
      • Events
        • Client
        • Server
      • Server Callbacks
    • MSK EngineToggle
      • Guides
      • Exports
        • Client
      • Event Handler
        • Client
        • Server
    • MSK Fuel
      • Config
      • Exports
        • Client
    • MSK Garage
      • Config
      • Exports
        • Client
    • MSK Handcuffs
      • Guides
        • General Edits for Jobs
        • Jaksam Job Creator
        • Multichar
        • ox_inventory
      • Config
      • Admin Commands
      • Exports
        • Client
        • Server
      • Events
        • Client
        • Server
      • Event Handlers
    • MSK Radio
      • Config
      • Exports
        • Client
        • Server
      • Events
        • Server
    • MSK Simcard
      • Installation
        • Config.Database
      • Config
    • MSK VehicleKeys
      • Guides
        • Installation
        • Integrations
      • Config
      • Admin Commands
      • Exports
        • Client
        • Server
    • MSK Whitelist
      • Config
      • Exports
        • Client
        • Server
    • MSK Weaponammo
Powered by GitBook
On this page
  1. Scripts
  2. MSK Radio

Config

Config for msk_radio

Config = {}
----------------------------------------------------------------
Config.Locale = 'de'
Config.Debug = true
Config.VersionChecker = true
----------------------------------------------------------------
-- !!! This function is clientside AND serverside !!!
Config.Notification = function(source, message, typ)
    if IsDuplicityVersion() then -- serverside
        MSK.Notification(source, 'MSK Radio', message, typ, 5000)
    else -- clientside
        MSK.Notification('MSK Radio', message, typ, 5000)
    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'},
}

Last updated 7 months ago