# General Config

## 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.

```lua
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..

<mark style="color:red;">**Warning ->**</mark> <mark style="color:red;"></mark><mark style="color:red;">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</mark> <mark style="color:red;"></mark><mark style="color:red;">**not**</mark> <mark style="color:red;"></mark><mark style="color:red;">use our versions, these features will not work.</mark>

```lua
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.

```lua
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'.&#x20;

<mark style="color:yellow;">**Note ->**</mark> <mark style="color:yellow;"></mark><mark style="color:yellow;">Make sure the elements in the table are comma separated.</mark>

```lua
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.

```lua
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.&#x20;

<mark style="color:orange;">**Initial Folder**</mark> <mark style="color:orange;"></mark><mark style="color:orange;">-> Key</mark>

<mark style="color:orange;">**Initial Talk Group**</mark> <mark style="color:orange;"></mark><mark style="color:orange;">-> Value</mark>

```lua
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.&#x20;

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://officergalvindevelopment.gitbook.io/untitled/sepura-sc20-radio/configuration/general-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
