FAQ
Patrolink FAQ for FiveM: frameworks, ox_inventory, pma-voice, qbx_radio, Eleven Police MDT and dispatch, job channels, languages, licensing and support.
Compatibility
Which frameworks does it support?
Tested on Qbox; it includes a bridge for QBCore and ESX, which hasn't been tested on a live server yet. The framework is detected automatically (Config.Framework = 'auto'). See Requirements.
What do I need installed?
OneSync, ox_lib, ox_inventory, oxmysql and pma-voice. All free. If any of them is missing, it won't start. See Requirements.
Does it work with qb-inventory or another inventory?
No. The radios are ox_inventory items and store their tuning, serial number and alias in the item. If you need another inventory, open a ticket on our Discord.
Does it work with SaltyChat, Mumble or another voice system?
No. Patrolink uses pma-voice as its audio engine; the stock 7.x version works. See Requirements.
I use qbx_radio. Do I have to change my scripts?
No. Patrolink declares provide 'qbx_radio': scripts that call exports.qbx_radio or listen to qbx_radio:client:* talk to Patrolink unchanged. Just remove qbx_radio from the server: never run both. See Replace qbx_radio.
Can I run Patrolink alongside another radio?
Yes, as long as it isn't qbx_radio with the provide line in place. If you keep qbx_radio, delete provide 'qbx_radio' from fxmanifest.lua and call Patrolink as exports.eleven_radio. If another script puts players on pma-voice channels between 1 and 500, the watchdog will kick them: use channels above 500 or Config.Hooks.WatchdogExempt. See Security.
Does it work with Eleven Police MDT?
Yes. In the MDT's config.lua, set Config.RadioItemType = 'eleven_radio': Patrolink becomes the officer's secondary radio and can also be tuned from the tablet. It is the MDT 4.2 default. Copy the MDT's extras/eleven_radio/hooks.lua over config/hooks.lua; the recommended pma-voice multi-channel layer is a separate download (eleven-police-extras-gpl, MIT). See Integration and exports and Patrolink (eleven_radio).
Does it work with my dispatch?
Yes, through config/hooks.lua. The emergency button, 10-codes and civilian emergencies call hooks that stay empty until you connect them to your dispatch (a ps-dispatch example is included). See Integration and exports.
Installation
Do I need to import a .sql file?
No. The patrolink_numeros, patrolink_bloqueos and patrolink_canales tables are created on first start. See Installation.
What order does it go in server.cfg?
After ox_lib, oxmysql, your framework (qbx_core, qb-core or es_extended), ox_inventory and pma-voice. Scripts that use qbx_radio go after eleven_radio. And with OneSync on. See Installation.
Can I rename the folder?
No. It must be called eleven_radio, with no hyphens: pma-voice clears channel permissions using the resource name as a pattern, and a - breaks that.
I already had a radio item. What do I do?
Replace it with Patrolink's. It must be stack = false, because every radio carries its own serial number and tuning. See Installation.
No audio, I get kicked from the channel or there's an error
Troubleshooting covers it: no audio, NO ACCESS, the watchdog kicking players, calls without a unit, qbx_radio scripts failing and the entitlement error.
Configuration
Which files can I edit?
The five files in config/ (config.lua, security.lua, encryption.lua, hud.lua and hooks.lua) and the translations in locales/. Restart the resource afterwards. See Configuration.
How do I reserve channels for a job?
In Config.RestrictedChannels. By default, 1 to 10 belong to police and ambulance, on duty only, decimals included. If your jobs are called lspd, bcso or sheriff, change them or they'll see NO ACCESS: see Police, sheriff and EMS with your jobs.
How do I add a service job, like the fire department?
Add it to Config.ServiceJobs with its dispatch name in control, and give it its channels in Config.RestrictedChannels. See Service features.
Which languages does it support? Can I translate it?
Spanish and English, through Config.Locale. For another language, copy locales/en.json under a new name, translate it and set that name in Config.Locale. See Configuration.
Can I change the keys?
Yes. Each player rebinds them in FiveM's key binding settings. The initial values live in Config.Keys and the command names in Config.Commands. See Commands and keys.
Can I turn off the decryptor, the private band or the HUD?
Yes, each module with enabled = false in its file: Config.Encryption, Config.PrivateBand, Config.Hud and Config.Security. See Configuration.
How do I show the officer's callsign instead of their name?
With Config.Hooks.GetCallsign in config/hooks.lua, reading the callsign from a trusted server-side source (your MDT, player metadata…). See Integration and exports.
Can a stolen radio be locked?
Yes, with /radiolock <serial>. It stops working after 90 seconds and the lock survives restarts. See Security.
Purchase and license
How do I download it after buying?
From Keymaster, with the same Cfx.re account you bought it with. See Buy and download and Install with Keymaster.
Can I use it on another server or move it to another account?
The resource is tied to the Cfx.re account that bought it: it runs on any server whose key (sv_licenseKey) belongs to that account. For anything else, see Licenses and escrow or open a ticket.
What can I edit?
The files in config/ and the translations in locales/. Everything else is encrypted. See Licenses and escrow.
I need a feature or an integration that isn't there
Open a ticket on our Discord describing what you need.
How do I update without losing my settings?
Back up config/ and locales/, replace the folder and put them back. Serial numbers, locks and private channels live in the database and are kept. See Updating.
Support
Where do I get help?
Open a ticket on our Discord. See Support.
What should I include in the ticket?
- Your Patrolink version and framework.
- What the server console and F8 show.
- What the radio screen says (CONNECTED, NO ACCESS, CONNECTING…).
- What you did right before, step by step.
More general questions in the Eleven Project FAQ.