๐Ÿ“ƒ
Docs
  • ๐Ÿ‘‹Welcome
  • ๐ŸŒ‰Bridge
    • ๐Ÿ’พInstallation
    • ๐ŸŒCompatibility
    • ๐Ÿ‘จClient exports
      • โฉFramework
        • getName
        • getJob
        • TriggerServerCallback
        • getSex
      • ๐ŸŽ’Inventory
        • getItemCount
      • ๐Ÿ‘๏ธTarget
    • ๐Ÿ–ฅ๏ธServer exports
      • ๐Ÿ—ƒ๏ธDatabase
        • getUserData
        • getVehicleData
      • ๐ŸŽ’Inventory
        • openInventory
        • addItem
        • removeItem
        • canCarryItem
        • getItemCount
        • registerStash
        • setDurability
      • โฉFramework
        • getPlayerFromId
        • getPlayerFromIdentifier
        • getIdentifier
        • RegisterServerCallback
        • getSource
        • getName
        • getJob
        • getAllPlayers
        • setJob
        • doesJobExist
        • getCoords
        • getJobs
  • ๐Ÿ”ซOrganization Panel
    • ๐Ÿ“Configuration
    • ๐Ÿ’พInstallation
    • ๐Ÿ—ƒ๏ธFramework integration
      • ๐Ÿ’ผESX
        • ๐Ÿšชox_doorlock usage
      • ๐Ÿ’ผQBCore
        • ๐Ÿšชox_doorlock usage
      • ๐Ÿ’ผOther framework
    • ๐Ÿ’ปServer
      • Server exports
      • Server events
    • ๐Ÿ‘จClient
      • Client exports
  • โ™ฃ๏ธBossmenu
    • ๐Ÿ“Configuration
    • ๐Ÿ’พInstallation
    • ๐Ÿ“–Framework integration
      • ๐Ÿ–ผ๏ธESX
      • ๐Ÿ–ผ๏ธQBCore & QBOX
      • ๐Ÿ–ผ๏ธOther Framework
    • ๐Ÿ–ฅ๏ธServer
      • ๐Ÿ”Events
      • ๐Ÿ”ƒExports
    • ๐Ÿ‘จClient
      • ๐Ÿ”Events
      • ๐Ÿ”ƒExports
  • ๐Ÿ•บAdjust Animation
    • ๐Ÿ—’๏ธConfiguration
    • ๐Ÿ’พInstallation
    • ๐Ÿ“šOther scripts integration
      • ๐Ÿ’ƒscully_emotemenu
      • ๐Ÿ’ƒrpemotes
      • ๐Ÿ’ƒother
  • ๐Ÿ‘ฎPolice MDT
    • ๐Ÿš€Install & Setup Guide
    • ๐Ÿ“Configuration
    • ๐Ÿ“–Framework integration
      • ๐Ÿ–ผ๏ธESX
      • ๐Ÿ–ผ๏ธQBOX/QB-Core
      • ๐Ÿ–ผ๏ธOther Framework
    • ๐Ÿšจwk_wars_2x Integration
    • ๐Ÿ“šExports
      • ๐Ÿ”ƒServer
      • ๐Ÿ‘จClient
  • ๐Ÿ‘จโ€๐Ÿ’ผDOJ MDT
    • ๐Ÿš€Install & Setup Guide
    • ๐Ÿ“Configuration
    • ๐Ÿ“šExports
      • ๐Ÿ‘จClient
  • ๐ŸฉบEMS MDT
    • ๐Ÿš€Install & Setup Guide
    • ๐Ÿ“Configuration
    • ๐Ÿ“šExports
      • ๐Ÿ”ƒServer
      • ๐Ÿ‘จClient
Powered by GitBook
On this page
  • Step 1: Download the Latest Releases
  • Step 1: Check Compatibility
  • Step 2: Set Up database
  • Step 3: Enable the Script in server.cfg
  • Step 4: Configure Locales ๐ŸŒ
  • Step 5: Open the MDT
  • Final Step: Enjoy Your New MDT! ๐ŸŽ‰๐Ÿ“ฑ
  • Extra Step: Optimizing Locales for Better Performance
  • Need Help? ๐Ÿ’ฌ

Was this helpful?

  1. Police MDT

Install & Setup Guide

PreviousPolice MDTNextConfiguration

Last updated 6 months ago

Was this helpful?

Step 1: Download the Latest Releases

  1. Download pp-bridge: Get the latest release of pp-bridge from our GitHub repository.

  2. Download pp-mdt: Download pp-mdt from

  3. Place both pp-bridge and pp-mdt folders into the resources directory inside your server files.

Step 1: Check Compatibility

First, confirm if the scripts, frameworks, inventory systems, etc., youโ€™re using are compatible with our setup. Take a look at this list: Compatibility List. If everything you're using is on this list, youโ€™re good to go to the next step! ๐ŸŽ‰

If your scripts are NOT listed there, donโ€™t worry:

  • Open the file @pp-mdt/config/config_s.lua

  • Update the script functions in this file to match the ones youโ€™re using by following the template provided for other scripts.

Youโ€™ll also need to configure the pp-bridge resource:

  • Locate init.lua in the pp-bridge.

  • Add new files/resources to the appropriate folders based on your setup.

Step 2: Set Up database

  1. Find the file sql.sql file in the pp-mdt folder, which you downloaded from .

  2. Run this SQL file in your database to create the required tables and columns.

  3. Get SQL file prepared for your Framework from and run it inside your database

Step 3: Enable the Script in server.cfg

  1. Open your server.cfg file.

  2. Add the following lines:

    # ensure inventory, ensure framework, ensure targets, etc.
    ensure pp-bridge
    ensure pp-mdt-prop
    ensure pp-mdt
  3. Save the changes, and restart your server to make sure everything loads correctly. ๐Ÿš€

Step 4: Configure Locales ๐ŸŒ

Before proceeding, check each file in the config folder to ensure that the "locales" setting matches your preferred language. If the correct locale isnโ€™t listed:

  1. Open the locales folder.

  2. Use an existing locale file as a template to create your own custom translation file.

  3. Update the "locales" setting in each config file to point to your new locale.

Step 5: Open the MDT

To open the MDT:

  • or press the default keybind \| to bring up the MDT.

But before you do, make sure:

  1. Your job has access to the MDT. Open config/config_s.lua and check if your job is listed in the jobsWithAccess table.

  2. Youโ€™re on duty if your server uses qbcore or qbox for duty states.

Final Step: Enjoy Your New MDT! ๐ŸŽ‰๐Ÿ“ฑ

Once everything is set up, hop on the server, open the MDT, and start exploring its features! ๐ŸŽˆ

Extra Step: Optimizing Locales for Better Performance

If youโ€™re experiencing any lag or performance issues with the NUI, the problem could be related to the locales settings. Hereโ€™s how to fix this by removing unnecessary locale files:

  1. Go to the folder @pp-mdt/web/build/assets.

    • Example files:

  2. Delete all files except the ones that match your preferred language and the core files:

    • Keep only the files with your locale prefix (e.g., pl_PL.js for Polish or en_US.js for English).

    • Leave the main index-<...>.css and index-<...>.js files untouched.

  3. Save these changes and restart the resource.

Removing unused locale files will help the NUI load only the necessary language settings, which should reduce lag and improve the performance of the MDT.


Need Help? ๐Ÿ’ฌ

If you run into any issues or have questions, please open a ticket on our Discord https://discord.gg/pixelprecision or reach out by email at support@pixelprecision.dev.

Use the client export

Locate the .js files that contain prefixes for each language. These files will have names formatted like en_US and en, or pl_PL and pl for Polish, etc. You can find more information about locale codes .

๐Ÿ‘ฎ
๐Ÿš€
CFX Keymaster
Keymaster
here
openMDT
here
Locale files for Polish
Locale files for US English
Files that should not be deleted