[FREE][STANDALONE] Police Armory

What Is It?

A standalone and simple police armory script that allows police officers to go to a police station to edit their loadouts. Uses a clean and efficient user interface with no bloated dependencies.

Why?

This script adds to the immersion of vMenu or non-economy based servers.

For Owners

  • Configure the weapons offered at the armory
  • Configure the locations of the armories
  • Easily readable code

How to Configure

  • Weapons are found in police-armory/resources/armory.js
  • Locations are found in police-armory/config.lua

Technical Information

  • Built with pure Lua and Javascript (of course making use of the FiveM APis)
  • No required dependencies
  • Makes use of a thread, but with minimal overhead

Download (Github)

Weapons List

Components List

Screenshots

Image1
Image2

Code is accessible Yes
Subscription-based No
Lines (approximately) 150-ish
Requirements None
Support No

Credits

  • Roboto designed by Christian Robertson, provided by Google Fonts

Todo

  • Ace Permissions
  • Markers at armories
  • Blips at armories
3 Likes

its really nice work bro

1 Like

anyway to change the Key of the armory?

In line 12 of the client.lua file, there is IsControlJustPressed(1, 51), you can change 51 to any valid keybind Id.

A full list can be found here:
https://docs.fivem.net/docs/game-references/controls/

1 Like

Awesome! And any plans on making different loadouts for different locations?