[QBCore]EMS/PD/Firefighter/Whatever Pager System

A script by phiomet

No reviews yet.
[QBCore]EMS/PD/Firefighter/Whatever Pager System main image

Full Description

This is my first script that I consider good enough to share with everyone! I gladly welcome constructive criticism. I am aware that similar scripts already exist, but they may not have all or the same functionalities as this one. So please refrain from such remarks. :sweat_smile:

Overview

This Volunteer EMS/PD/Firefighter/Whatever Pager System is a fully functional and immersive FiveM resource for QB-Core servers,
designed to simulate real-life emergency alert systems used for example by volunteer fire departments.
Unlike standard duty-based dispatch systems, this pager allows players to receive emergency calls even when off-duty,
making it perfect for volunteer departments and emergency response roleplay.

Preview Video

[FiveM] Volunteer Firefighter Pager System (QB-Core)

Screenshots



Key Features

  • :white_check_mark: Realistic Pager System – Receive emergency alerts via an in-game pager device.
  • :white_check_mark: Off-Duty Alerts – Players can receive emergency calls even when not actively on duty.
  • :white_check_mark: Job-Restricted Sending – Only authorized personnel (for example fire department) can send alerts.
  • :white_check_mark: Job-Restricted Receiving – All with item or only authorized personnel (for example fire department) can receive alerts.
  • :white_check_mark: Interactive UI – A clean and intuitive pager interface for viewing and managing alerts.
  • :white_check_mark: GPS Integration – Automatically places a waypoint at the emergency location.
  • :white_check_mark: Custom Sounds & Notifications – The pager plays a realistic beep sound upon receiving an alert.
  • :white_check_mark: Accept/Decline System – Respond to calls with a single key press (default: G) and define the max. number of needed persons.
  • :white_check_mark: Blip Management – Emergency locations are marked on the minimap and automatically removed after 10 minutes.
  • :white_check_mark: Discord Logging – Alerts and responses are logged via Discord Webhooks for better tracking.
  • :white_check_mark: Optimized & Lag-Free – Uses efficient code to ensure low resource consumption.

How It Works

  1. Player receive an alert with a custom emergency message.
  2. The pager beeps and displays the alert message via an interactive UI.
  3. Players can accept or decline the call using a configurable key (default: G).
  4. When accepted, a GPS waypoint is set to the emergency location.
  5. The alert sender (dispatcher) is notified when someone responds.

Customizable & Configurable

:wrench: Fully adjustable via config.lua:

  • Enable off-duty alerts for all with the item pager.
  • Restrict who can send alerts (default: fire department).
  • Restrict who can receive alerts (default: all with item).
  • Set a custom keybind for accepting alerts.
  • Customize notification messages and pager sounds.
  • Integrate a Discord webhook for logging.
  • Change to your Notification and Inventory Framework in decrypted files.

Requirements

  • QB-Core Framework
  • qb-input (for emergency message entry)
  • optional: xsound for option that all players around hear sound from pager

Installation

  1. Drag & drop the resource into your FiveM server.
  2. Add ensure pager to your server.cfg.
  3. Configure config.lua to fit your server needs.
  4. Insert item in qb-core/shared/items.lua and the picture in inventory.
  5. If you use Radialmenu or other implementation, insert the command /fdpager there.
  6. The sender and receiver must have the item in the inventory.
  7. Restart your server and enjoy a realistic volunteer firefighter experience! :fire_engine::fire:

['pager'] = {["name"] = "pager", ['label'] = 'Feuerwehr Pager', ["weight"] = 150, ["type"] = 'item', ["image"] = "pager.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = true, ['combinable'] = nil, ["description"] = "Ein Pager für die freiwillige Feuerwehr."},

:small_blue_diamond: Perfect for servers with volunteer emergency responders!
:small_blue_diamond: Enhance your fire department roleplay today!

:arrow_up: UPDATE

  • The option to use either xsound or local sound has been added. With xsound, the sound is audible to everyone near the owner of a pager. Volume, range, and the sound itself are individually configurable.
  • An export has been added that allows triggering the pager in other scripts.

:arrow_up: UPDATE 18.03.2025

  • Added option to enable/disable blip/route.

Link to Tebex

Code is accessible partially
Subscription-based No
Lines (approximately) 410
Requirements QB-Core/qb-input
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily