OfficerGalvin Development
  • Landing Page
  • Sepura SC20 Radio
    • How It Works
    • Configuration
      • General Config
      • ESX / QB
      • Discord API
      • FMS / CMA
    • Editable Server Functions
  • Advanced Police Tape
    • How It Works
    • Configuration
  • Matrix Board
    • How It Works
    • Configuration
  • Method Of Entry
    • How It Works
    • Configuration
Powered by GitBook
On this page
  • Framework
  • Voice Resource
  • Frequencies
  • Displaying the Active Speaker
  • Initial Folders and Talk Groups
  • Panic Button
  1. Sepura SC20 Radio
  2. Configuration

General Config

For General Configuration

Framework

We require you to decide the Framework you are using. We support Standalone, ESX, ESX Legacy & QB Core. Please ensure the text is correct and inline with the commented options.

Config.Framework = 'Standalone' -- Standalone / ESX / ESX Legacy / QB 

Voice Resource

Select your Voice Resource in the below section, we support either PMA or Mumble & enter the resource name for said voice script..

Warning -> We provide an edited PMA / Mumble resource to support the Custom Channel Names & to being able to identify when someone is speaking on the radio. If you do not use our versions, these features will not work.

Config.VoiceResource = 'PMA' -- PMA or Mumble.
Config.VoiceResourceName = 'pma-voice' -- The voice resource name.

If you are using Mumble, we can setup custom Radio Identifiers (Callsigns) based on an editble function in sv_funcitons.lua. To do this, set this variable to true.

Config.SetMumbleRadioName = true

Frequencies

You can make Folders & Talk Groups in the Frequencies table. The Folders are the key, e.g -> 'South East' or 'MET-MP'. The Talk Groups are the elements within those keys, e.g -> 'SE DESP'.

Note -> Make sure the elements in the table are comma separated.

Config.Frequencies = {
    ['SOUTH EAST'] = {
        'SE DESP',
        'SE SPLIT',
        'SE SPARE',
        'SE SUPPORT',
        'SE CRIME 1',
        'SE CRIME 2',
        'SE CRIME 3',
        'SE EVENT 1',
        'SE EVENT 2',
        'SE EVENT 3',
        'SE OPS 1',
        'SE OPS 2',
        'SE OPS 3'
    },
    ['MET-MP'] = {
        'INTOPS 1',
        'TD DESP',
        'TD OPS',
        'CO19 HG1',
        'CO19 OPS'
    }
}

Displaying the Active Speaker

Our radio supports the ability to view the active speaker. You can disable this and set the default option in settings for your players.

Config.HaveOptionToShowSpeaker = true
Config.DefaultShowSpeaker = false

Initial Folders and Talk Groups

As per your frequency table's values & keys, you can decide the initial joined Folder and Talk Group for when the user turns on the Radio.

Initial Folder -> Key

Initial Talk Group -> Value

Config.InitalFolder = 'SOUTH EAST'
Config.InitalTalkGroup = 'SE DESP'

Panic Button

In this section you can setup whether or not you want Panic Buttons to work. If you want them on, you can setup the command name, if there should be a chat message & if the Panic sound should play. You can edit the Panic Button's code in the sv_functions.lua.

Config.DisplayPanicCommand = true
Config.PanicCommandName = 'panic'
Config.DisplayPanicChatMessage = true
Config.PlayPanicSound = true

PreviousConfigurationNextESX / QB

Last updated 1 year ago