🚨 Urban Duty UI – Advanced Police & EMS Status Panel (QBCore)

:rotating_light: Urban Duty UI – Advanced Police & EMS Status Panel (QBCore)

A lightweight, fully transparent on-duty UI designed for Police & EMS command awareness, featuring real-time duty tracking, ranks, callsigns, and automatic S.O.S alerts.

Built for QBCore servers with modern ambulance frameworks in mind.

Discord
Tebex Store


:small_blue_diamond: Core Features

:white_check_mark: Live On-Duty List

  • Displays all Police & EMS currently on duty
  • Automatically updates when players:
    • Go on/off duty
    • Change job
    • Disconnect / reconnect

:white_check_mark: Clean Transparent UI

  • No background panels or blur
  • Floating HUD-style overlay
  • Perfect for:
    • Streamers
    • Minimal HUD servers
    • MDT-style command displays
  • Toggle position:
    • /onduty left
    • /onduty right

:white_check_mark: Ranks & Callsigns

  • Displays:
    • Callsign
    • Character name
    • Department
    • Rank badge
  • Players can set callsigns with:
    • /setcommand [CALLSIGN]
    • /setcallsign [CALLSIGN]

:rotating_light: S.O.S / Officer Down System

:fire: Automatic S.O.S Detection

  • Instantly flags Police or EMS as S.O.S when:
    • Dead
    • In last stand / bleeding state
  • Fully automatic β€” no commands required

:red_circle: Visual Alerts

  • Row turns red
  • Flashing red animation
  • Displays β€’ S.O.S next to callsign
  • Sorted to top of list for rapid awareness

:stethoscope: Instant Clear on Revive

  • S.O.S clears automatically when revived
  • Includes desync protection to prevent β€œstuck red” bugs

:ambulance: Ambulance Script Support

:heavy_check_mark: QBCore Ambulance

  • qb-ambulancejob

:heavy_check_mark: p_ambulance (FULLY SUPPORTED)

  • Uses state bags:
    • isDead
    • dead
    • deathType
  • Supports:
    • death
    • bleeding
    • recovering
    • none

:heavy_check_mark: Wasabi Ambulance

  • Compatible with standard revive/death events

:heavy_check_mark: Custom Ambulance Scripts

  • Fallback events included for easy integration

:brain: Commands

Command

Description

/onduty

Toggle duty UI

/onduty left

Pin UI to left

/onduty right

Pin UI to right

/setcommand A-12

Set callsign

/down

Manual S.O.S toggle (optional)

/up

Clear S.O.S

(Admin commands optional & configurable)


:gear: Performance & Compatibility

  • :feather: Extremely lightweight
  • :repeat: Event-driven (no loops)
  • :jigsaw: QBCore only
  • :video_game: FiveM Lua 5.4 compatible
  • :tv: Stream-safe & HUD-friendly

:package: Installation

  1. Drop resource into your resources folder
  2. Add to server.cfg:
ensure urban-dutyui

  1. Configure job names in config.lua
  2. Restart server

:telephone_receiver: Support & Updates

  • Actively maintained
  • Clean, readable code
  • Easy to customise
  • Support available via Discord

Discord
Tebex Store

Code is accessible No
Subscription-based No
Lines (approximately) 1055
Requirements qbcore
Support Yes

YouTube Preview: https://www.youtube.com/watch?v=WXsQcPDszw8