Police Armory Locker (Lockpicking, Weapon Armory & Custom Models)

(29)
(547)
You can always read the reviews or discuss this product
Media gallery
No description
Buy product
In short

This is a police armory that has everything you need! Police officers can retrieve and deposit weapons into the armory and access them through a sexy UI, while robbers can lockpick their way into the armory Pay-Day style.

Robbers are able to lockpick the doors of the police armory locker in a Pay-Day style if they purchase an armory lockpick through the F4 menu.


🏢 Locker Items
  • You can configure which teams can take which items from the police locker.
  • You can retrieve weapons, ammo, health and armor from the police locker by default.
  • You can restrict weapons/items to specific jobs in the config.


🔫 Supported Weapons


🔓 Lockpicking
  • Criminal teams can lockpick the armory doors to steal items.
  • You can configure which items can buy the lockpick and steal items.
  • Police jobs are notified when someone has lockpicked the police locker.


💸 Rewards
  • Police officers can kill thieves and receive a reward.
  • The reward is fully customizable in the configuration file.


⏱️ Cooldowns
  • You can customize cooldowns for retrieving items from the police locker as a police officer.
  • You can also set the cooldown for lockpicking the doors as a criminal.
  • Every door also has a custom cooldown that is global.


🌶️ Models & Animations
  • The police locker only uses custom content.
  • Custom police locker model.
  • Custom lockpick.
  • Both the armory and lockpick use custom, unique animations.


💯 Level System Support

💻 bLogs Support
  • The addon supports bLogs.
  • Logs when a player retrieves an item from the police locker (player name, item name)
  • Logs when a player deposits an item into the police locker (player name, item name)
  • Logs when a robber successfully lockpicks the police locker (player name)
  • Logs when a robbery successfully steals items from the police locker (player name, item name)

Discord Server

I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a support ticket on GModStore.

As a police officer you can retrieve weapons from the armory by simply accessing it using 'E' to open the menu. The armory has custom animations and the doors will open once you access it and close once you leave (or when the last officers leaves if multiple people are using it at the same time.

Weapons that you retrieve can be deposited again and there is a config for server owners to set a cooldown on retrieving weapons, ammo and items from the armory.

As a criminal you can purchase the "Armory Lockpick" from the F4 menu. This weapon enabled icons on the armory locker doors that indicates where to lockpick. Once a lockpick starts the custom animations will play for the weapon and a bar appears to show progress on your screen.

If you succeed lockpicking without looking away from the door or get killed then a menu will appear with some random content from the armory. You can maximum loot 3 items and then leave the armory.

A lockpicking cooldown is applied to the player as well as the specific door that was lockpicked. The player cannot lockpick another door before their cooldown is over, and the doors won't regenerate items until the door cooldown time is over. Both are configurable by the server owner.

This does not support multiple armories.

This addon supports DarkRP 2.7+

Other newer versions should also work. If they do not, please create a ticket so this can be sorted.

Extract police_armory_locker to your addons!

Setup Armory

Once you've done that, you will need to set up the location of the police armory.

All you have to do now is launch your server and find a fitting spot for the armory and type policearmory_locker_setpos and the position will be saved.

If you want to set another position for the police armory locker you just run the command again. It will now show up at your new position after 5 seconds.

The armory will face in the direction of the player, so keep that in mind when setting it in-game.

Content

This script contains custom model and materials. Script content can be found at:

https://steamcommunity.com/sharedfiles/filedetails/?id=1917043256

Make sure to add this to your servers workshop collection as well.

To customize the general settings go to police_armory_locker/lua/armory_locker/shared/armory_locker_config.lua

To customize the lockpick swep that gets added to DarkRP go to police_armory_locker/lua/armory_locker/shared/armory_locker_darkrpadds.lua

There are over 20 different configuration options in the general settings. I can add any configuration you would like as well. Please just submit a support ticket with your request, and I will see if it's possible.

Additionally a large selection of weapons are added to the police armory settings by default. A selection of ammo types and health/armor items are also added by default.

Please see this knowledge base article on how to add weapons/items: https://www.gmodstore.com/help/addon/police-armory-locker/configuration-7/topics/adding-weapons-items-to-the-armory

Default Config

-- General Config
CH_Armory_Locker.Config.WeaponsArmoryEnabled = true -- Should the weapon armory for police jobs be enabled or not? true/false option.
CH_Armory_Locker.Config.RetrieveCooldown = 300 -- Amount of seconds between being able to retrieve a weapon from the police armory as a government official.
CH_Armory_Locker.Config.PoliceKillRobberReward = 1250 -- Amount of money police officers get when killing someone that is lockpicking the armory.
CH_Armory_Locker.Config.KillRobberReward = 250 -- Amount of money anyone else get when killing someone that is lockpicking the armory.

CH_Armory_Locker.Config.HideRestrictedItems = false -- Enable this if you want to hide items that are restricted from the player.

-- Lockpicking Config
CH_Armory_Locker.Config.LockpickTime = 30 -- Amount of seconds to lockpick the armory.
CH_Armory_Locker.Config.LockpickCooldown = 300 -- Amount of seconds after having lockpicked a door, before being able to lockpick another door.
CH_Armory_Locker.Config.DoorCooldown = 120 -- Amount of seconds a door is on a cooldown after being lockpicked. The above config still applies for the individual user.
CH_Armory_Locker.Config.NotifyPolice = true -- Should police jobs be notified when someone has lockpicked the armory and leaves? true/false.
CH_Armory_Locker.Config.RequiredGovTeams = 2 -- Amount of required teams from the CH_Armory_Locker.Config.GovernmentTeams table before being able to lockpick.

-- Display 3D2D Config
CH_Armory_Locker.Config.DisplayHeaderText = true -- Should the text above the armory be displayed?
CH_Armory_Locker.Config.HeaderText = "Police Armory" -- Header text above armory/locker.
CH_Armory_Locker.Config.DistanceToHeader = 1000 -- Distance between player and police locker before the title appears.
CH_Armory_Locker.Config.DistanceToIcons = 500 -- Distance before lockpick/cooldown icons appear.

CH_Armory_Locker.Design.ArmoryHeaderColor = Color( 48, 151, 209, 255 ) -- Header text color (gmodstore blue color)
CH_Armory_Locker.Design.ArmoryHeaderBoarder = Color( 0, 0, 0, 255 ) -- Header text boarder color

-- XP System Support
CH_Armory_Locker.Config.DarkRPLevelSystemEnabled = false -- DARKRP LEVEL SYSTEM BY vrondakis https://github.com/uen/Leveling-System
CH_Armory_Locker.Config.SublimeLevelSystemEnabled = false -- Sublime Levels by HIGH ELO CODERS https://www.gmodstore.com/market/view/ZulBh6wzRg2udB-bskk59w
CH_Armory_Locker.Config.EssentialsXPSystemEnabled = false -- Brick's Essentials and/or DarkRP Essentials by Brickwall https://www.gmodstore.com/market/view/8vAdDl46QUmo9upPDM02kA & https://www.gmodstore.com/market/view/MNKuVyfcQjykUYkLV63Fmg
CH_Armory_Locker.Config.EXP2SystemEnabled = false -- Elite XP SYstem (EXP2) By Axspeo https://www.gmodstore.com/market/view/uInsVHfPQ-q3apZhBLEX3A
CH_Armory_Locker.Config.GlorifiedLevelingXPSystemEnabled = false -- GlorifiedLeveling by GlorifiedPig https://www.gmodstore.com/market/view/ZI2Ev9tOQT2avLrCXQxGWA

CH_Armory_Locker.Config.XPSuccessfulLockpick = 25 -- Amount of experience to give on successfully lockpicking into the armory.

Team Configuration

CH_Armory_Locker.Config.GovernmentTeams = { -- These are your government teams. They can access the armory and receive message when robbed.
    ["Civil Protection"] = true,
    ["Civil Protection Chief"] = true,
    ["Police Officer"] = true,
    ["Police Chief"] = true,
    ["Secret Service"] = true,
    ["FBI Agent"] = true,
    ["S.W.A.T"] = true,
    ["S.W.A.T Sniper"] = true,
    ["Mayor"] = true,
}

CH_Armory_Locker.Config.AllowedTeams = { -- These are the teams that are allowed to rob the armory.
    ["Citizen"] = true,
    ["Gangster"] = true,
    ["Mob boss"] = true,
    ["Gun Dealer"] = true,
    ["Medic"] = true,
    ["Hobo"] = true,
}

If you find any problems with the script, please create a support ticket with details of the situation and a copy/paste of the error in console. I am also not interested in modifying you a custom version of the addon. Also not upon payment. Sorry!

Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have some sort of proof that an addon is conflicting with my addon, please send me a PM with the details you might have.

Thank you!

If you like this script, you should check out some of my other addons for DarkRP. Just click the banner to open the script page in a new tab.

Product reviews

5.00 average based on 29 reviews

Buy product
Crap-Head & Im Not Meow Meow
9 products - 2 members
Looking for reliable and easy-to-use game server hosting with free Anycast and DDoS protection? Get 30% off your first payment at Physgun with the coupon code gmodstore at checkout.
Product details
Views:
56.1K
Purchases:
1,323
Added:
Updated:
Price:
$9.99 $7.99
Categories:
Languages:
English
Requirements
  • DarkRP
Actions
Report
Search products...