Skip to content

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-voice or qb-voice.

Requirements ​

ResourceRequired
qb-core (or qbx_core)Yes
ox_libYes
pma-voice or qb-voiceYes

Installation ​

  1. Copy the MG-Employeelist folder into your resources directory.
  2. Add it to server.cfg after its dependencies:
ini
ensure ox_lib
ensure qb-core
ensure pma-voice

ensure MG-Employeelist

No database or items are needed.

Usage ​

Key / commandAction
+ or /phubOpen or close the hub
F11Toggle 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,
    },
}
FieldDescription
LabelName shown at the top of the hub.
VisibleJobs whose members appear in this hub.
OrderSort 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 radioChannel state. Check Config.VoiceSystem matches your voice resource.
  • Talking indicator doesn't light up: set Config.VoiceSystem to the voice resource you actually run.

All MG Development resources are protected. Redistribution is not permitted.