Skip to content

Zerofour04/esx_policejob-improved

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

🚓esx_policejob

👑Creator: ESX Framework

🛠️Forked/Edited by: Zerofour


⭐Features

  • You can move if you're under arrest
  • Bodycam feature
  • MDT
  • Status of the officer
  • Backup system
  • Police badge
  • K9 Dog menu
  • Camera system
  • Police shield
  • Speed camera system
  • Traffic manager

ℹ️Information

Hey, I'm releasing this police job because I rescripted this police job a few years ago, I mainly implemented better scripts/features in it. ⚠️Please note the requirements you need for this script!

🖼️Pictures:

🧱Requirements

You need this scripts for the custom police job:

Default:

⚙️Configuration

  • Config.EnablePlayerManagement = Enable if you want society managing.

  • Config.EnableArmoryManagement = Armory management

  • Config.EnableESXIdentity = Enable if you're using esx_identity.

  • Config.EnableLicenses = Enable if you're using esx_license.

  • Config.EnableHandcuffTimer = Enable handcuff timer? will unrestrain player after the time ends.

  • Config.EnableJobBlip = Enable blips for cops on duty, requires esx_society.

  • Config.EnableCustomPeds = Enable custom peds in cloak room? See Config.CustomPeds below to customize peds.

  • Config.EnableESXService = Enable esx service?

  • Config.MaxInService = How much people can be in service at once?

  • Config.PoliceStations = Location & Blip

  • Config.AuthorizedWeapons = Armory management

  • Config.AuthorizedVehicles = Vehicle management

  • Config.Uniforms = EUP

Police Backup Menu item:

table.insert(elements, {label = _U('requestBackup1'), value = 'petite_demande'})

Police Backup message:

RegisterNetEvent('renfort:setBlip')

Police status menu item:

{label = '<span style="color:green;">Service<span style="color:white;"> plug', value = 'prise'},

Police status message:

RegisterNetEvent('police:InfoService')

🔧Changelogs:

[2.0.0] - Dec 4, 2022

  • Added Backup Sound when you request Backup
  • Added more objects in the traffic interaction
  • Added some Sheriff coordinates
  • Added own police menu
    • Bodycam feature
    • MDT system
    • Status of officer
    • Police Backup menu
    • K9 Dog Menu
    • Camera system
    • Shieldmenu
    • Speed measurement
    • Traffic Manager system
  • Updated fx_version
  • Fixed some translation error
  • Fixed some SQL File type errors

[1.0.0] - Mar 27, 2021

  • Rewritten so that people can move while wearing handcuffs

📋Download & Installation

Using fvm

fvm install --save --folder=esx esx-org/esx_policejob

Using Git

cd resources
git clone https://github.com/ESX-Org/esx_policejob [esx]/esx_policejob

Manually

  1. Download https://github.com/ESX-Org/esx_policejob/archive/master.zip
  2. Put it in the [esx] directory
  3. Import esx_policejob.sql in your database
  4. Add this to your server.cfg:
start esx_policejob

⭐Credits / ❗Copyright

  • Please do not upload this script anywhere else as a lot of time is invested in the script and out of respect for the developers

Hey, some parts of the script were not created by me. I wrote and used this content a few years ago and I want to publish this content because I don't play FiveM anymore and want to help some people, also I keep improving the content. If you are one of the creators and don't want your code to be here, make a pull request/issue.

Hey, I've been programming passionately in my spare time for several years and I like to use ideas from other people, unfortunately, I don't always manage to credit every developer, but I try my best. If there is a piece of code in it that the developer doesn't want to have in it, I will of course remove it

💌Thanks to all developers who are part of this script, because without them the script would not be as extensive

©️Legal

License

esx_policejob - police script for ESX

Copyright (C) 2015-2020 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.

About

👮 | FiveM Policejob | improved / edited to walk during handcuff

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%