Eleven Patrolink (eleven_radio)
Eleven Patrolink as the item radio of Eleven Police MDT on FiveM: Config.RadioItemType, hooks.lua, matching jobs and items, multi-channel and radio keys.
What it is
The tablet comes with its own service radio (unit, department, command and TAC, on pma-voice). As an item radio, the officer's handheld with its own dial, it supports one only: Eleven Patrolink (resource eleven_radio). It is ours: with Eleven Police MDT it is sold separately; with Eleven Police it is included. Other item radios (qbx_radio, qb-radio…) are not supported since 4.2.
With Patrolink:
- Switching the Patrolink on switches the tablet radio on, and switching it off silences it.
- The dial can be tuned from the tablet's "Secondary" card, without taking the handset out.
- Volume follows the Patrolink knob.
- The server checks that the radio is on and in the inventory before putting the officer on the grid.
Without Patrolink (Config.RadioItemType = 'none', or the resource stopped) the tablet radio turns on by itself: carrying one of the radio items while on duty is enough.
Note
This page only covers the tablet side. How to install and configure Patrolink is in its own documentation: Patrolink and Integration and exports.
Installing both
- Install Patrolink following its guide and start it before
eleven-policeinserver.cfg. - In the tablet's
config.lua,Config.RadioItemType = 'eleven_radio'. It is the default, so usually you write nothing. The tablet recognises Patrolink by thenamein itsfxmanifest.lua, so a renamed folder still works. If your config says'qbx_radio'or'patrolink'(4.1 values), it switches to Patrolink on its own and warns you in the console so you can change it. - Copy the hooks. The tablet ships
extras/eleven_radio/hooks.lua, readable. Copy it overeleven_radio/config/hooks.lua(replace the whole file). The steps are also inextras/eleven_radio/LEEME.md. - Match the jobs. The tablet's police jobs (
Config.PoliceJobNames) go into Patrolink's config:Config.ServiceJobsandConfig.RestrictedChannelsinconfig/config.lua, andlockJobsandlogJobsinconfig/security.lua. Add them to thePOLICEtable at the top ofhooks.luatoo. - The items. The tablet's
Config.RadioItemNames(defaultradioandradio_pl7) must match Patrolink'sConfig.Models. If you rename them there, rename them here. - Restart the server and type
police-doctorin the console:
· secundaria Eleven Patrolink (eleven_radio): interruptor y sintonizar desde la tablet
· ganchos extras/eleven_radio/hooks.lua instalado
· multicanal suscripcion a varios canales a la vez
Tip
If the tablet folder is not called eleven-police, change the MDT variable at the top of hooks.lua.
What the hooks do
| Hook | What it does |
|---|---|
KeepRadioEnabled | While the tablet radio is on, leaving the dial does not mute the grid. Required |
ServicePanic | An on-duty officer's emergency button fires the tablet PANIC (red alert to every on-duty officer) |
GetCallsign | The radio HUD and 10-codes show the unit callsign. Calling a unit code rings all of its members |
IsDispatcher | Tablet command units (units with dispatch permission) can use /radiolock and /radiounlock |
OnTenCode | A 10-code typed on a PL-3T shows up in the division's radio chat |
WatchdogExempt | The radio watchdog leaves the tablet channels alone |
A civilian emergency stays in the radio (it rings on the dial) and is not sent to the tablet dispatch.
The hooks use five tablet exports: GetOfficerCallsign, IsDispatcher, RadioCodeMessage and IsServiceChannel (server) and TriggerOfficerPanic (client). See Exports and events.
Multi-channel layer: highly recommended
Stock pma-voice gives each player a single radio channel. The multi-channel layer is requested by ticket on our Discord (package eleven-police-extras-gpl, folder pma-voice-multicanal, MIT licence) and keeps the Patrolink dial apart from the tablet grid:
Stock pma-voice | With the multi-channel layer | |
|---|---|---|
| Tablet grid | One channel at a time | Unit, department and command at once |
| Patrolink dial while on duty | The tablet wins; the dial is only heard with the "Secondary" key (jumps and comes back) | Always heard, together with the tablet |
| Talking on the dial | The tablet "Secondary" key | The on-screen PTT, the "Secondary" key or Patrolink's own PTT key |
Alt (+radiotalk) on duty | Talks on the tablet radio | Does not transmit: use the tablet keys |
police-doctor | multicanal in amber (degraded mode) | multicanal in green |
With stock pma-voice, if the Patrolink changes channel while on duty, the tablet puts the officer back on their unit in under a second: nothing is ever sent on the wrong channel. The Patrolink screen then shows that the service radio is in charge.
Keys
None are bound by default. Each officer sets them in the GTA pause menu: Settings → Key Bindings → FiveM.
- Tablet: push-to-talk for Unit, Department, Command and Secondary (Secondary is the Patrolink dial). See Commands and keys.
- Patrolink: its own PTT key (
+eleven_radio_ptt) and its channel keys. See Patrolink.
On duty, do not rely on Alt: use the tablet keys.
If something is off
| Symptom | What to check |
|---|---|
| The tablet says "Radio off" | Switch the Patrolink on: the tablet radio follows its power switch |
| "You need a radio" while carrying one | The item is not in Config.RadioItemNames |
| Leaving the dial cuts the tablet radio | The hooks are missing: ganchos line in police-doctor |
| A frequency will not tune from the Secondary card | It is outside the Patrolink dial (1 to 500) or a reserved channel in Config.RestrictedChannels |
More cases in Troubleshooting.