Channels and frequencies
Patrolink channels on FiveM: the dial, job-restricted channels for police, sheriff and EMS, PL-3T zones, the password-protected band and encrypted channels.
The dial
Players can tune from 1 to 500 with two decimals (Config.Dial). Anything above that is free for your other scripts.
| Range (default) | Used for |
|---|---|
| 1 – 10.99 | Restricted service channels (police, ambulance), also encrypted. |
| 11 – 299.99 | Open. |
| 300 – 399.99 | Password-protected private band. |
| 400 – 500 | Open. |
| 6000001 – 6000200 | Reserved for PL-3T private calls. |
Restricted channels
A restricted channel only lets in the jobs you list, and only while they're on duty. Restricting a channel also restricts its decimals: restrict 5 and 5.01 to 5.99 are closed too.
By default, 1 to 10 belong to police and ambulance:
Config.RestrictedChannels = {}
for channel = 1, 10 do
Config.RestrictedChannels[channel] = { police = true, ambulance = true }
end
To add a single one, for example 20 for mechanics:
Config.RestrictedChannels[20] = { mechanic = true }
- Players without access see NO ACCESS on screen and can't join.
- With
−/+the PL-3 skips channels you can't join. - The check also runs on the server (inside pma-voice), not just on the screen.
- An officer who goes off duty stops hearing the channel.
Police, sheriff and EMS with your jobs
The police and ambulance names are the Qbox and QBCore defaults. If your server has several departments (lspd, bcso, sheriff, sasp, ems…), change them or your officers will see NO ACCESS. There are three places to edit:
| File | Key | What it controls |
|---|---|---|
config/config.lua | Config.RestrictedChannels | Who can join each restricted channel. Encrypted channels copy this list automatically. |
config/config.lua | Config.ServiceJobs | Who gets the emergency button, 10-codes and a unit for private calls. control is the dispatch name your hooks receive. |
config/security.lua | lockJobs · logJobs | Who can lock stolen radios (on duty) · which bosses can read the transmission log. |
One channel set per department
For example: 1 to 3 for LSPD, 4 to 6 for the sheriff, 7 and 8 for EMS, and 9 and 10 shared:
-- config/config.lua
Config.RestrictedChannels = {}
for channel = 1, 3 do Config.RestrictedChannels[channel] = { lspd = true } end
for channel = 4, 6 do Config.RestrictedChannels[channel] = { bcso = true } end
for channel = 7, 8 do Config.RestrictedChannels[channel] = { ambulance = true } end
for channel = 9, 10 do
Config.RestrictedChannels[channel] = { lspd = true, bcso = true, ambulance = true }
end
Config.ServiceJobs = {
lspd = { control = 'LSPD' },
bcso = { control = 'BCSO' },
ambulance = { control = 'EMS' },
}
-- config/security.lua (inside Config.Security)
lockJobs = { lspd = true, bcso = true, ambulance = true },
logJobs = { lspd = true, bcso = true },
Names on the PL-3T
Positions 1 to 10 of PL-3T zone 1 land on those same channels. Give them each department's name in Config.Zones so it shows on screen:
Config.Zones = {
[1] = { name = 'SERVICES', channels = {
'LSPD 1', 'LSPD 2', 'LSPD 3', 'BCSO 1', 'BCSO 2', 'BCSO 3', 'EMS 1', 'EMS 2', 'TAC 1', 'TAC 2',
} },
[2] = { name = 'ZONE B' },
[3] = { name = 'ZONE C' },
[4] = { name = 'ZONE D' },
}
Tip
Restart the server after changing the jobs. If an officer still sees NO ACCESS, check in your framework that they have that job and are on duty. With Eleven Police MDT, use the same jobs as its Config.PoliceJobNames (see Integration).
PL-3T zones
The PL-3T doesn't dial frequencies: it has 4 zones of 16 positions. Each position is a whole frequency:
frequency = (zone - 1) * 16 + position
| Zone | Positions 1–16 | Frequencies |
|---|---|---|
| 1 | SERV 01 … SERV 10, OPEN 11 … OPEN 16 | 1 – 16 |
| 2 | CH 01 … CH 16 | 17 – 32 |
| 3 | CH 01 … CH 16 | 33 – 48 |
| 4 | CH 01 … CH 16 | 49 – 64 |
Positions 1 to 10 of zone 1 land on the restricted channels, so a PL-3 and a PL-3T on the same frequency hear each other.
Zone and channel names are set in Config.Zones. An unnamed position shows as CH nn:
Config.Zones = {
[1] = { name = 'SERVICES', channels = { 'SERV 01', 'SERV 02', 'SERV 03' --[[ ... ]] } },
[2] = { name = 'ZONE B' },
[3] = { name = 'ZONE C' },
[4] = { name = 'ZONE D' },
}
Private band
From 300.00 to 399.99 (Config.PrivateBand) players can claim a channel with a password.
- Tune an unclaimed channel in the band. The radio offers to make it yours: enter a password (4 to 24 characters) and repeat it.
- From then on, anyone tuning that channel has to type the password.
- Manage your channels with
/privatechannel: change the password (removes everyone), remove everyone, or release the channel.
| Rule | Default |
|---|---|
| Channels per character | 2 |
| Wrong passwords in a row before a cooldown | 3 |
| Cooldown after failing | 60 s |
| Auto-released if the owner doesn't join for | 30 days |
Staff see every private channel in /privatechannel and can close any of them.
Encrypted channels
An encrypted channel can't be heard without access. By default every restricted channel is encrypted (decimals included). You can encrypt more in config/encryption.lua:
Config.Encryption.channels[20] = { mechanic = true }
Decryptor
The radio_decryptor item lets a player without access listen to an encrypted channel for a while.
- Turn the radio on and tune the encrypted channel (you'll see NO ACCESS).
- Use the decryptor from the inventory.
- Beat the minigame (
W,A,S,Dpresses over 5 rounds of rising difficulty). - If you make it, you listen to the channel for 120 seconds. You can't transmit: the screen shows RECEIVE ONLY.
| Rule | Default |
|---|---|
| Uses per decryptor | 3 (each attempt costs one; it breaks at 0) |
| Listening time | 120 s |
| Cooldown between attempts by the same player | 15 min |
When someone breaks the encryption, everyone on the channel gets an ENCRYPTION BREACH warning.
Tip
If you don't want the decryptor, set Config.Encryption.enabled = false. Restricted channels stay closed anyway.