/PD5M

Github for the FiveM-resource PD5M

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

PD5M Discord Release License

Make sure that your resource is written completely lowercase: pd5m!

Banner

PD5M is a resource for FiveM aiming to provide a functional police-multiplayer to the game. Inspired by LSPDFR and PIS you can take on the role of an officer of the Police Departments to protect and to serve the citizens of San Andreas.

Features

  • Interact with every ped and vehicle on the server
  • Talk to civilians, search them, use a drugtest or a breathalyzer
  • Seize cars or items, fine peds or arrest them
  • Call Coroner and Towtrucks to get rid of dead bodies resp. seized cars
  • Departments: LSPD, BCSO, SAHP, SAPR (Park Ranger), SWAT
  • Advanced and fully customizable armory, wardrobe and garage - systems
  • Full EUP wardrobe support
  • Work as a towtruck driver for the DPOS (Department of Public Order and Safety; very limited script-support)
  • Wardrobe and Garage support for Fire Department and EMS (no script-support currently)
  • Custom TP-script to quickly get you to each station
  • Config file pre-set to work with a few mods (listed below)
  • Backend: Sync-structure so every client gets the same information of the peds

Controls

  • Use F3 to enable a crosshair that will help you determine what you are looking at
  • Type /tp to open the teleport menu that can send you to every police- and DPOS-station
  • Type /rank to choose your department ranks. If you are displaying rank insignia on your uniform, this command will choose the appropriate rank insignia next time you are in the wardrobe

Keyboard:

  • Use E to interact with an npc you are looking at. Is also used to interact with every marker on the map
  • Hold X to open the radialmenu. You can see every action your officer can possibly take. Hover your mouse over an action and release the key (no click necessary) to perform the action. Has different options on foot and in a car

Controller:

  • Use DPad Right to interact with an npc you are looking at. Is also used to interact with every marker on the map
  • Press DPad Down to open the radialmenu. You can see every action your officer can possibly take. Use the right analog stick to move the cursor over an action and press DPad Down again to perform the action. Has different options on foot and in a car

On Foot: To carry out an action, look at a ped and use E or X as described above.

In a Car: The actions will get carried out for the vehicle directly in front of your vehicle.

Make sure to talk to people before taking an action against them (e.g. arresting them). You wouldn't like that in real life either!

Discord

Join our Discord for the latest announcements, patchnotes and more. Support is offered for this resource over there as well.

Base (included in PD5M, you don't need to download the resources)

Installation Instructions

  • Download the latest release of PD5M
  • Move PD5M to resource/ directory (or any category)
  • Rename the resource folder to pd5m
  • Make sure the folder name is all lowercase
  • Edit your server.cfg to include:
ensure pd5m

Recommended Addons

  • vMenu by Vespura, used to create an mp-ped as said functionality hasn't been added to PD5M yet
  • Delete Vehicle Script by WolfKnight. As traffic loves to get crazy this helps you clean any mess

Optional Addons

The addons listed below can be used to enhance your playing experience. They are fully supported by PD5M. If you want to use them, simply install them as per their installation instructions. Afterwards open PD5M/Config/config_cl.lua and set the respective bool at the top of the file to true.

Legal

  • You are free to use the resource for your server in any way you want. Only requirement is a tag for PD5M in the server-name (can be any design, e.g. plain text, in brackets, vertical lines ...).
  • Creating modifications is encouraged however please publish your own content so everyone can enjoy it.
  • At the same time pull-requests are encouraged as well.

Shoutouts

Shoutouts go out to:

  • The teams of LSPDFR and PIS for their inspiration and small code-examples
  • IllidanS4 for his Entity Iterators
  • The above mentioned mod authors
  • DrBlackError for his tremendous help regarding setting up and maintaining the github.
  • MobTV for his contribution to offer ESX-integration.
  • ChieF TroN for his contribution to offer vRP-integration.
  • Everyone involved in testing the mod prior to this release.
  • DrBlackError for creating and managing our wonderful Discord!

Newest Patch Notes: Update v0.2.2.1 Usability update

  • Fixed a bug where the permission system for ESX and vRP didn't work at all.
  • Fixed medic stations not being loaded properly.