Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

chickenlord01/johnspolicemenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Johns Police Menu

This resource is no longer maintained. Please use https://github.com/chickenlord01/johnspolicerework instead!

Created by JohnL#6869 (Discord)

Planned Features

  • Add cuffing sounds for when player is cuffed.
  • Add cuffing animations.
  • Add minigame to allow player a chance to break out of cuffs/drag.
  • Can't think of anything else right now (WIP)

Features

  • Customizable Loadouts
  • Actions
    • Cuff/Uncuff
    • Drag/Undrag
    • Place in Vehicle
    • Remove from Vehicle
    • Remove Weapons
    • Place/Remove Spikestrips
  • Commands
    • /hu (Puts hands up)
    • /handsup (Puts hands up)
    • /surrender (Kneels on ground to give self up)
    • /kneel (Kneels on ground to give self up)
    • /k (Kneels on ground to give self up)
    • /openpm (Opens Police Menu)
  • Controls
    • F9 (Opens Police Menu)
    • Players can change the open menu function in their keybind settings.

Changing permissions

  • If you would like to allow players to use the menu, it is as easy as adding `add_ace identifier.ADDIDENTIFIERHERE policemenu.open allow #PLAYERNAME`
  • If you would like to allow players to use a loadout, it is as easy as adding `add_ace identifier.ADDIDENTIFIERHERE policemenu.LOADOUTNAME allow #PLAYERNAME`
  • server.cfg example

    add_ace identifier.steam:1100001155f7f59 policemenu.open allow #John
    add_ace identifier.steam:1100001155f7f59 policemenu.sru allow #John
    

    You can also allow groups of players:

    add_ace group.leo policemenu.open allow
    add_ace group.sru policemenu.sru allow
    

Modifying Config

  • If you would like to add more weapons, simply add the name to the weapons>spawn portion. You can find a full list of weapons in the weapons.lua file.
  • If you would like to add more attachments, simply add the name of the weapon.attachment. For example: WEAPON_PISTOL.suppressor. You can find a full list of weapon attachments in the weapons.lua file.
  • Note: I tried my best to make it very straight forward for people that are new to development or have no idea what they are looking at. If you have questions don't be afraid to reach out on discord!

Installation

  1. Download dpemotes here. This is a dependency, you need this for the Police Menu.
  2. Download johnspolicemenu here.
  3. Extract the folders and upload it to your FiveM server.
  4. Add the resources to your server.cfg file. (dpemotes before johnspolicemenu)

Credits

  • Thanks to BritishBrotherhood for the spikescripts script: Link
  • Thanks to Warxander for the menu api: Link
  • If any bug/issue is found please submit it on the github page.

About

Police Menu for Menu servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages