timnboys / PD5M

Github for the FiveM-resource PD5M

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PD5M

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, SASP (State Patrol), SAPR (Park Ranger), SWAT
  • Basic working armory, wardrobe, garage
  • Work as a towtruck driver for the DPOS (Department of Public Order and Safety; very limited script-support)
  • Custom TP-script to quickly get you to each police-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
  • 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

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!

Requirements

Installation Instructions

  • Download radialmenu and warmenu
  • Download the latest master-branch of PD5M
  • Move radialmenu, warmenu and PD5M to resource/ directory (or any category)
  • Edit your server.cfg to include:
ensure warmenu
ensure radialmenu
ensure PD5M
  • Open PD5M/Radialmenu/ director. Move the files config.lua and radialmenu.lua to the radialmenu/ resource (replace the existing files)

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
  • Everyone involved in testing the mod prior to this release.

About

Github for the FiveM-resource PD5M

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%