Garry's Mod

Garry's Mod

430 ratings
Door Locker
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool, Effects
Addon Tags: Fun, Realism
Tags: misc
File Size
Posted
Updated
3.728 KB
24 Jul, 2014 @ 5:50pm
9 Sep, 2016 @ 2:18pm
6 Change Notes ( view )

Subscribe to download
Door Locker

Description
This is the Sandbox version of my Door Locker that is intended for use on gamemodes other than TTT, you can find that in my Workshop files.

**** Info:
Ever wanted to lock a random door of your choosing? If you have the door locker then you can! Walk up to a door and Left Click to lock the door and Right Click to unlock it. The door will also automatically unlock after 30 seconds has passed. But there is another, more fun imo, way to take down the door; people can shoot the door and it will be destroyed! Each door has 300 health and can be destroyed with bullets to have it fall down and you are free to enter. This could be helpful in DarkRP (I have not tested it though) or just plain fun in Sandbox with friends.

*** FAQ:
* Is this the Door Welder on Coderhire? Nope, I explained that in the TTT version.
* Why doesnt this work on my door? The weapon only works on HL2 doors (or prop_door_rotating for you mappers out there) and not other types (func_door). I wish it would but I could not manage to find a way to make it work, sorry.
* How can I change the door health? Currently its just in the lua file which you would have to extract to edit but I will probably make a console command for it.
* This doesnt work in {gamemode}! Send me any errors and I will look at them and see what I can do, if you fix the weapon for a gamemode I would appreciate if you sent me that version.

*** Config:
* Change the values in the lua file, convars have been removed due to lua errors

** Do NOT use this with my Door Buster addon or it will cause lua errors **
93 Comments
레빡이 2 Sep, 2023 @ 12:12am 
Can I still lock it?
slaxou 10 Jul, 2023 @ 12:32pm 
For the darkrp ?
qie2iqee 2 Jan, 2023 @ 7:55pm 
How to spawn in a door I've been looking everywhere for those doors that can open and close by right clicking them but I cannot find
☢WolfBite☢ 25 Jan, 2022 @ 4:30pm 
@ Neokotin can i get a link for that? Your profile is private.
Awarekajus 12 Dec, 2021 @ 3:09pm 
Neokotin you made your profile private bruh so I cant see your steam workshop page
Neokotin 17 Feb, 2021 @ 3:21pm 
Guy's, i'm remade this addon and delete the 30s timer, u can check this in my steam workshop page
Sam 28 Jan, 2021 @ 2:20pm 
30 seconds is a tiny timer
>KB> >KEKSQUAD 31 Dec, 2019 @ 6:26am 
Also shoutout to the hordes of retards who don't know how to extract an addon from the WS to edit it.
>KB> >KEKSQUAD 31 Dec, 2019 @ 6:25am 
[ERROR] addons/doorlocker/lua/weapons/weapon_doorlocker.lua:155: attempt to call
method 'Nick' (a nil value)
1. unknown - addons/doorlocker/lua/weapons/weapon_doorlocker.lua:155

Happens when a player locks a door then leaves the server. Should probably either save the nick or unlock the door.
bushman 30 Dec, 2019 @ 5:57pm 
WHY 30