config.lua
A configuration file to set up the script for your needs.
General Settings
Locale:
"EN"β Language of the radio system.Framework:
"ESX"/"QB"/"CUSTOM"β Framework used on the server.VoiceSystem:
"PMA"/"Salty"/"CUSTOM"β Voice system used.customServerKey:
"cs_76238472873467272438hdsiuduzsdfb359835987"β Unique server key (set once during installation).enableJoinFunctionality: true / false β Allows players to join frequencies using the menu.
Frequency Input Settings
maxBeforeDecimal: Maximum digits before the decimal point. Example: 3 (allows 999)
maxAfterDecimal: Maximum digits after the decimal point. Example: 2 (allows 999.99)
Command Settings
commandName: Command to open the radio menu. Example:
"radio"commandKey: Default keybind to open the radio menu. Example:
"F9"neededItem: Required item to use the radio. Example:
"radio"orfalseto deactivate
Webhook Settings
SendWebhook.Join: true / false β Logs when a player joins a frequency
SendWebhook.Leave: true / false β Logs when a player leaves a frequency
SendWebhook.RenameChannel: true / false β Logs when a channel is renamed
SendWebhook.RenameSelf: true / false β Logs when a player renames themselves
Other Settings
UseRPNames: true / false β Use character names instead of FiveM names
HideRadioListDefault: true / false β Hide the radio list by default
LetPlayersSetTheirOwnNameInRadio: true / false β Allow players to change their own display name
LetPlayersChangeRadioChannelsName: true / false β Allow players to rename radio channels
ShowPlayerServerId: true / false β Display the playerβs server ID
PlayerServerIdPos:
"left"/"right"β Position of server IDLetPlayersOverrideRadioChannelsWithName: true / false β Override channel names with custom names
RadioChannelsWithName: Define custom names for frequency ranges.
Example:
{
range = { min = 1.0, max = 1.99 },
name = "Police"
}LockedChannels: Restrict specific frequencies to certain jobs.
Example:
{
range = { min = 1.0, max = 1.99 },
allowedJobs = { "police" }
}Last updated