MG-Employeelist
An on-screen employee hub for police, EMS and other government jobs. It shows every on-duty colleague with their callsign, radio channel and status, and highlights who is talking on the radio.
Features
- One hub per job (Police, EMS, FIB, CIA…), each with its own label and order.
- Choose which jobs each hub can see. For example, EMS can see the police list.
- Shows name, callsign, grade, radio channel and a live "talking" indicator.
- Status toggles: Duty, Commander, Dispatch, Busy, Break (with minutes) and Offline.
- Players set their own callsign from the hub.
- Works with
pma-voiceorqb-voice.
Requirements
| Resource | Required |
|---|---|
qb-core (or qbx_core) | Yes |
ox_lib | Yes |
pma-voice or qb-voice | Yes |
Installation
- Copy the
MG-Employeelistfolder into yourresourcesdirectory. - Add it to
server.cfgafter its dependencies:
ini
ensure ox_lib
ensure qb-core
ensure pma-voice
ensure MG-EmployeelistNo database or items are needed.
Usage
| Key / command | Action |
|---|---|
+ or /phub | Open or close the hub |
| F11 | Toggle mouse focus while the hub is open |
Players can change both keys in Settings → Key Bindings → FiveM.
Configuration
config.lua is the only file you need to edit.
Voice system
lua
Config.VoiceSystem = "pma-voice" -- "pma-voice" or "qb-voice"Jobs
Each entry is one hub. The key must match the job name in your framework.
lua
Config.Jobs = {
police = {
Label = "Police Hub",
Visible = { "police" }, -- jobs shown in this hub
Order = 1, -- tab order
},
ambulance = {
Label = "EMS Hub",
Visible = { "ambulance", "police" }, -- EMS also sees police
Order = 2,
},
}| Field | Description |
|---|---|
Label | Name shown at the top of the hub. |
Visible | Jobs whose members appear in this hub. |
Order | Sort order when a player can see several hubs. |
To add a job, copy an entry and change the key, label and visible jobs.
Status colors
Colors use the AARRGGBB format (alpha first).
lua
Config.Colors = {
OnDuty = 'FF008800',
Commander = 'FFFFD900',
Dispatch = 'FF6100BD',
Busy = 'FF000000',
Break = 'FFFFAE00',
Offline = 'FF808080',
Talking = 'E0FF8A03',
}Troubleshooting
- The hub is empty: the player's job must be a key in
Config.Jobs, and they must be on duty. - Radio channel shows OFF: the voice resource must set the player's
radioChannelstate. CheckConfig.VoiceSystemmatches your voice resource. - Talking indicator doesn't light up: set
Config.VoiceSystemto the voice resource you actually run.
