How to Use
Discover everything you need to execute rapid workflows seamlessly with XR-MDT.π¬ Commands & Keybinds
| Command | Default Key | Description | Access |
|---|---|---|---|
/mdt | DELETE | Toggles the MDT tablet | All configured jobs |
/mdt_dispatch | β | Toggles the Dispatch overlay panel | LSPD, EMS |
/panic_button | CTRL + L | Sends a panic button alert (10-sec cooldown) | LSPD, EMS |
/bodycam | β | Mounts / Unmounts Bodycam | LSPD, EMS |
/bk1 | β | Sends a Code 2 backup alert | LSPD |
/bk2 or /bk | β | Sends a Code 3 backup alert | LSPD |
/bk3 | β | Sends a Code 3 critical backup alert | LSPD |
/10-13 | β | Triggers an βOfficer Downβ alert to all emergency services | LSPD |
[!TIP]
Key bindings can be overridden in Settings β Key Bindings β FiveM within the GTA V pause menu.
π How the Tablet Opens
- Player presses the
/mdtcommand (or uses thetabletitem). - The client sends
TriggerServerEvent('xr-mdt:server:requestOpenMDT'). - The server validates the playerβs job, retrieves grade-specific permissions, and sends
TriggerClientEvent('xr-mdt:client:open', source, data). - The client routes the
opensignal to the correct app (police, ems, doj, or business). - The NUI receives the
openaction with{ type, permissions, factionConfig, locales }.
π The A4 Document System
XR-MDT integrates a beautifully designed, strictly symmetrical multi-page layout engine.- Creating Documents: Navigate to the
Documentstab and clickNew Documentor select a Template. - Page Pagination: Standardized A4 dimensions. Text automatically paginating into new pages on overflow.
- Drafting and Signatures: Drop signature slots that use magnetic snapping. Upon signing, real-time sync establishes immutable timestamps.
- Physicality: Printing pushes a
documentitem with embedded metadata (doc_id,title,html_content) to the playerβs inventory.
πΉ WASM-Powered Bodycams
Equip thebodycam item or use /bodycam to toggle the camera.
- Your camera feed will appear in the
Camerastab of the MDT for colleagues to view. - Video encoding runs in the clientβs WASM thread β no server-side processes (FFmpeg etc.) are needed.
IdleFPS(low framerate buffer) keeps the stream responsive for viewers without impacting server performance.
π‘ GPS & Tracking
- GPS Tracker: Equip the
gpsitem to appear on the dispatch map for your job. - Tracking Band: Equip the
tracking_banditem to track a citizen on the MDT map (e.g., ankle monitor). - Offline/disconnected players are automatically removed from the map β no ghost blips.
πΊοΈ Dispatch System
Dispatch alerts can be created:- From within the MDT UI (manual entry).
- Via the
/panic_buttoncommand or/bkcommands. - Via external script exports:
exports['xr-mdt']:createAlert(data)orexports['xr-mdt']:TriggerDispatch(...). - Via the server event:
TriggerEvent('xr-mdt:server:triggerDispatch', data).
π¬ Specific Job Modules
π Police (LSPD)
- Citizen search by name, SSN, or citizen ID.
- Vehicle search by plate or model.
- Issue fines, warrants, and multi-charge sentences (fine + jail simultaneously).
- Grant/revoke licenses (driver, weapon, etc.).
- Manage the weapon armory (kits and stock).
- Track units on the live dispatch map.
π EMS
- Access medical records and patient history.
- Bill patients (online: direct bank deduction, offline: phone invoice).
- Revive players from the MDT (triggers
hospital:client:Revive). - View emergency dispatch calls with precise coordinates.
βοΈ DOJ
- Manage court cases with suspect/vehicle/officer linkage.
- Full citizen and vehicle lookup with warrant and evidence integration.
- Protected from police data wipes β court documents require DOJ-specific authorization.
π’ Business (BizPad)
- Manage employee roster: hire, fire, promote, suspend.
- Update callsigns/badges and add HR notes.
- View financial dashboard: revenue, expenses, weekly charts, recent transactions.
- Integrates with
bank_statementstable for financial history.
