Git Product home page Git Product logo

pd5m's Introduction

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!

Discord

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

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)
  • Make sure that the warmenu-resource is called warmenu, or you'll need to edit the PD5M-__resource.lua
  • Edit your server.cfg to include:
ensure warmenu
ensure radialmenu
ensure PD5M
  • Open PD5M/Radialmenu/ directory. Move the files config.lua and radialmenu.lua to the radialmenu/ resource (replace the existing files)
  • Open PD%M/Radialmenu/html directory. Move the file menu.html to the radialmenu/html/ resource (replace the existing file)

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.
  • DrBlackError for creating and managing our wonderful Discord!

Newest Patch Notes: The Config Update

  • Config files were greatly expanded and now feature many variables to tweak the ped-generation of the resource.
  • Probabilities for peds possessing weapons, using drugs, drinking, and fleeing / fighting have been increased.
  • Fixed a bug where imprisoned peds were still stuck to a player for everyone else.

pd5m's People

Contributors

xsilvermanx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.