Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

HM Notrufsäulen - Overview

The hm_Notrufsaeulen script brings fully functional emergency call boxes (like the ones along German motorways) to your FiveM server. Call boxes are placed directly in-game with a 3D placer, managed through an extensive config tablet and, when used, trigger real dispatch messages (e.g. to dispatch centres or emergency crews).

The system runs completely standalone. Frameworks such as ESX or QBCore are detected automatically and used for player names, duty checks (jobs) and optional tablet items.


  • Config tablet as NUI (/notruf_config, item or keybind): Its own interface in the modern hm_ELSPlus look (tabs, cards, modals, search) to create, edit, move and delete call boxes.
  • Permissions via ACE or JSON list: Both at the same time are possible (both). Permissions can be granted to online players directly in the tablet.
  • In-game placer: Align props to the millimetre with the camera, rotate them, fine-tune height and distance, and toggle ground snapping.
  • Templates instead of individual props: Define prop, orientation and range of services once as a template – new call boxes inherit all properties at the push of a button.
  • Freely configurable emergency services: Name, phone number, jobs, dispatch adapter, report code, cooldown and individual SVG logos per agency/organisation.
  • Interactive map with satellite image: Call boxes as icons, your own position tracked live, and an in-game calibration function (alignment without guessing coordinates).
  • Settings in the tablet (admin only): Adjust cooldowns, connection setup, redundancy and prop selection directly in-game without file access.
  • Dispatch integration: A default adapter for Emergency Dispatch (LoveRP Scripts) is built in. Further interfaces can be connected flexibly via your own adapters; automatic job notification as redundancy.
  • Dedicated control panel on the call box: Authentic NUI in the look of real motorway call boxes, including a sign for motorway, kilometre, call box number, location display and buttons per emergency service. Replies from the dispatch centre are shown in a speech bubble.
  • Flexible interaction: Either via ox_target or TextUI (automatic fallback to TextUI if ox_target is not present).
  • Security & performance: Server-side distance and cooldown checks, support for anonymous reports, and DE/EN locales.

ResourceRequiredPurpose
ox_libYesCallbacks, points, notifications, TextUI
ox_targetOptional3D interaction at the call box (otherwise falls back to TextUI)
ox_inventory / ESX / QBCoreOptionalUsing the config tablet as an inventory item
Dispatch resourceOptionalForwarding emergency calls (e.g. Emergency Dispatch, Roadphone, etc.)

The package is split into two resources:

[hm_Notrufsaeulen-Pack]/
├── hm_Notrufsaeulen/ # Logic, UI, data & adapters
└── hm_Notrufsaeulen_stream/ # Prop & archetype (do not restart while the server is running)

The main resource hm_Notrufsaeulen is structured as follows:

hm_Notrufsaeulen/
├── config/
│ ├── config.lua # Main configuration
│ └── services.lua # Default emergency services (seed for data/services.json)
├── data/ # Runtime data (JSON, server-only)
│ ├── pillars.json # Placed call boxes
│ ├── templates.json # Templates
│ ├── services.json # Configured emergency services
│ ├── permissions.json # Permission list
│ ├── settings.json # Settings changed in the tablet
│ └── map.json # Map bounds after calibration
├── html/ # NUI files for tablet & call box
│ ├── saeule.svg # Call box icon (tablet & map)
│ ├── eigen_gps.svg # Own location marker
│ └── map.jpg # Satellite map
├── locales/ # de.json / en.json language files
├── server/
│ ├── adapters/ # Active dispatch adapters (e.g. emergencydispatch.lua)
│ │ └── beispiele/ # Templates for other systems (roadphone.lua, custom.lua)
│ ├── bridge.lua / storage.lua / permissions.lua / dispatch.lua / main.lua
├── shared/
│ ├── settings.lua # Schema for tablet settings
│ └── utils.lua
└── client/

Please note

  • Write permissions for data/: The data/ folder must be writable on the server (chmod -R 775 data/) and must not be deleted, because FiveM (SaveResourceFile) does not create missing directories.
  • Do not overwrite when updating: Always back up the data/ folder before updating your resource, because all placed call boxes, templates, permissions and calibrations are stored there. Copy it back after the update.
  • Do not restart hm_Notrufsaeulen_stream: Do not restart the stream resource while players are connected. Unloading .ytyp archetypes in a running FiveM client causes game crashes. The logic resource hm_Notrufsaeulen, on the other hand, can be restarted safely at any time.
  • Match job names with Emergency Dispatch: If the call box reports “Meldung weitergeleitet” (report forwarded) even though staff are online, the job names stored in the emergency services do not match the assignments registered in Emergency Dispatch. Use the command notruf_duty in the server console to compare them.
  • config.lua vs. data/settings.json: Changes to config/config.lua require a resource restart (restart hm_Notrufsaeulen). The console command notruf_reload only reloads the dynamic JSON files in data/.