Install & Setup Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Download pp-bridge: Get the latest release of pp-bridge from our GitHub repository.
Download MDT: Download pp-doj-mdt
from
Place pp-bridge
, pp-doj-mdt
and folders into the resources directory inside your server files.
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! 🎉
Find the file sql.sql
file in the pp-doj-mdt
folder, which you downloaded from .
Run this SQL file in your database to create the required tables and columns.
Get SQL file prepared for your Framework from and run it inside your database
server.cfg
Open your server.cfg
file.
Add the following lines:
Save the changes, and restart your server to make sure everything loads correctly. 🚀
To fetch data correctly, make sure external resources like inventory, garage, or medical records are set up and running. Check their configs to allow data sharing via exports, APIs, or database access.
Execute this code inside your database:
Execute this code inside your database:
Add this item to data/items.lua
:
To properly use the transaction export feature, you must generate a credentials.json file from Google Console Cloud.
Place the forms in the correct folder:
Move the downloaded forms into @pp-doj-mdt/web/build/public/forms/
Customize as needed and enjoy! 🎉 You can modify the forms to fit your server's needs.
To properly use the transaction export feature, you must generate a credentials.json file from Google Console Cloud.
Instead of placing the credentials.json file next to server.cfg
as in the video- place it inside the pp-doj-mdt
folder, next to fxmanifest.lua
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:
Open the locales
folder.
Use an existing locale file as a template to create your own custom translation file.
Update the "locales"
setting in each config
file to point to your new locale.
To open the MDT:
or press the default keybind \|
to bring up the MDT.
But before you do, make sure:
Your job has access to the MDT. Open
config/config_s.lua
and check if your job is listed in thejobsWithAccess
table.You’re on duty if your server uses qbcore or qbox for duty states.
Once everything is set up, hop on the server, open the MDT, and start exploring its features! 🎈
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:
Go to the folder @pp-doj-mdt/web/build/assets.
Example files:
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.
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.
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
.
Download the repository:
CFX Escrow does not allow .pdf
files inside the resource, so forms must be downloaded separately.
🔗
Follow steps in this
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 .