Installation

Step 1: Download & Extract the Resource

  1. Download the pf-policemdt resource

  2. Extract it to your server's resources directory:

    resources/[custom]/pf-policemdt/

    Your folder structure should look like:

    resources/
    ├── [scripts]/
    │   └── pf-policemdt/
    │       ├── client/
    │       ├── server/
    │       ├── html/
    │       ├── locales/
    │       ├── sql/
    │       ├── config.lua
    │       ├── fxmanifest.lua
    │       └── README.md

Step 2: Import SQL Database

  1. Open your database management tool:

    • HeidiSQL

    • phpMyAdmin

    • DBeaver

    • Or any other SQL client

  2. Import the correct SQL file for your framework:

    • For QBCore: Import sql/pf-policemdt-qb.sql

    • For ESX: Import sql/pf-policemdt-esx.sql

Step 3: Update server.cfg

Add the resource to your server.cfg file in the correct order:

Important: The Police MDT resource must start after your framework and dependencies.

Step 4: Add MDT Item to Server

For QBCore Servers

  1. Locate your QBCore items file:

  2. Add this item entry to the items table:

For ESX Servers

  1. Locate your ESX items file (usually in es_extended):

  2. Add this item entry:

  3. If using an inventory system, add the image to your inventory folder.

Step 5: Modify config.lua to your liking

Step 6: Restart Server

  1. Restart your FiveM server or use the console command:

  2. Verify in server console that the resource started without errors.


Last updated