CodeRender
  • Welcome To Code Render
  • Scripts
    • CR-DispatchMDT
      • Script Configuration
      • UI Configuration
      • Events and Custom Features
    • CR-Loading Screen Configuration
    • CR-CaravanJob
Powered by GitBook
On this page
  • General Settings
  • BOLO (Be On the Lookout)
  • Warrants
  • Priority and Risk Levels
  • Incident Types
  • Dispatch App
  • Notes
  1. Scripts
  2. CR-DispatchMDT

UI Configuration

The UI configuration for the CR-DispatchMDT script shapes the client-side interface of the Mobile Data Terminal (MDT) in FiveM servers. It governs access controls, incident categorization, and visual elements to ensure a seamless user experience. This guide provides a comprehensive overview of each configuration section, formatted for clarity and ease of use.


General Settings

Core settings that define MDT access and radio functionality.

Setting

Value

Description

allowMultipleTeams

false

Disables assignment to false , ensuring player can't join multiple team.

MaxRadioChannel

1000

Sets the maximum number of radio channels (1–1000) for range control.

ACCESS_GRADE

[3, 4]

Restricts MDT access to specific job grades (e.g., higher police ranks).

Tip: Align ACCESS_GRADE with your server’s job hierarchy to control access effectively.


BOLO (Be On the Lookout)

Configures the BOLO system for issuing alerts within the MDT.

BOLO Types

Supported BOLO categories:

  • Suspect BOLO: Alerts for wanted individuals.

  • Vehicle BOLO: Alerts for suspect vehicles.

  • Weapon BOLO: Alerts for dangerous weapons.

BOLO Crime Charges

Crimes linked to BOLO alerts:

  • Murder

  • Assault

  • Robbery

  • Burglary

  • Drug Trafficking

Note: Ensure crime charges match your server’s legal framework for consistency.


Warrants

Settings for issuing warrants through the MDT.

Warrant Types

Available warrant categories:

  • Arrest Warrant: For apprehending suspects.

  • Search Warrant: For property searches.

  • Vehicle Warrant: For vehicle seizures.

  • Emergency Warrant: For urgent situations.

  • Gang/Organization Warrant: For group-related actions.

Warrant Crime Charges

Crimes associated with warrants:

  • Murder

  • Assault

  • Robbery

  • Drug Trafficking

  • Kidnapping

Tip: Expand warrant types cautiously, ensuring script compatibility.


Priority and Risk Levels

Defines categorization for incident severity and risk.

Setting

Values

Description

PRIORITY_LEVEL

["Low", "Medium", "High"]

Classifies incident urgency. Do not modify to maintain script integrity.

RISK_LEVEL

["Low", "Medium", "High"]

Assesses incident danger. Do not modify to ensure consistent behavior.

Warning: Altering PRIORITY_LEVEL or RISK_LEVEL may break script functionality.


Incident Types

Supported incident categories for MDT reporting:

  • Store Robbery: Small-scale retail theft.

  • Bank Robbery: High-stakes financial heists.

  • Armored Car Robbery: Theft from secure transport.

  • Jewelry Store Robbery: Luxury goods theft.

Note: Incident types can be customized, but ensure alignment with dispatch logic.


Dispatch App

Visual and interactive settings for the dispatch interface.

Setting

Value

Description

SirenAnimation

5

Sets the Panic Button animation duration to 5 seconds for optimal responsiveness.

Tip: Adjust SirenAnimation sparingly to avoid UI lag on lower-end clients.


Notes

  • Access Control: Verify ACCESS_GRADE matches your server’s rank structure to prevent unauthorized access.

  • Customization: When adding BOLO or warrant types, test thoroughly to ensure compatibility with server scripts.

  • Performance: The SirenAnimation duration is optimized at 5 seconds. Longer durations may impact client performance.

  • Documentation: Refer to the script’s official documentation for advanced customization or troubleshooting.

Support: For issues or further guidance, contact at discord.

PreviousScript ConfigurationNextEvents and Custom Features

Last updated 1 month ago