Garry's Mod

Garry's Mod

TTT - Door Locker
42 Comments
Neolectron Sep 17, 2024 @ 9:22pm 
Hello, do you have a github so I can contribute ?
Ostross Sep 18, 2020 @ 2:24am 
BongoKittyCat Sep 13, 2018 @ 2:20pm 
works perf!
Paley Dec 3, 2017 @ 5:55am 
[ERROR] addons/ttt_-_door_locker_290945941/lua/weapons/weapon_ttt_locker.lua:239: attempt to index global 'self' (a nil value)
1. v - addons/ttt_-_door_locker_290945941/lua/weapons/weapon_ttt_locker.lua:239
2. unknown - lua/includes/modules/hook.lua:84
3. FireBullets - [C]:-1
4. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:316
5. unknown - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:240
Paley Dec 3, 2017 @ 5:50am 
line 239 dont work when i try to destroy the door (sry for bad english ^^)
dmbai Aug 23, 2017 @ 1:21am 
It working in sandbox?
CB#214 Jul 30, 2017 @ 5:56pm 
UGH IM LOOKING FOR A MOD TO LOCK DOORS NOT A TIME LIMIT UGGHH.
Sneaky Beaky May 27, 2017 @ 4:22pm 
and its only locked for 30 secs
Sneaky Beaky May 27, 2017 @ 4:22pm 
why would it unlock
Đante May 8, 2017 @ 2:05am 
This addon causes the console to massively spam, even if you don't use it on the map. "Incompatiable Door" It depends on the map as well.
Exho  [author] Apr 12, 2017 @ 1:45pm 
ok
Cerberis Alpha Apr 11, 2017 @ 5:35pm 
i am a male
Exho  [author] Apr 11, 2017 @ 11:18am 
Thanks my dude
Cerberis Alpha Apr 10, 2017 @ 5:58pm 
u cool btw
Exho  [author] Apr 10, 2017 @ 5:18pm 
I'm a guy, was just a bit thrown off by you asking. No worries
Cerberis Alpha Apr 10, 2017 @ 5:11pm 
im just gonna delete my gender related comments ok?
Cerberis Alpha Apr 10, 2017 @ 5:10pm 
well if i made a mistake with gender im sorry
Exho  [author] Apr 10, 2017 @ 5:08pm 
Um, dare I ask why you want to know?
Cerberis Alpha Apr 10, 2017 @ 4:22pm 
thnx man
Exho  [author] Apr 10, 2017 @ 4:22pm 
No sir, just a TTT thing. But you can get the sandbox version here: http://steamcommunity.com/sharedfiles/filedetails/?id=290947495
Cerberis Alpha Apr 10, 2017 @ 4:06pm 
hey exho does this work in sandbox
?
x-Fumei-x Jan 4, 2017 @ 3:39am 
nice
Exho  [author] Sep 9, 2016 @ 2:15pm 
Fixed SomeCallMeNomad's error, it resulted from poor coding

In order to change the time delay you will have to extract the addon and edit the values within the Lua file, they are named and commented so they should be easy to use once you get to them
kondon Aug 8, 2016 @ 7:04am 
how to change lock delay ??
Lucas Jun 21, 2016 @ 9:03am 
could you please tell me where exactly i could change the locking time from 30seconds to another time period? :)
♥座頭市 TH♥ Apr 19, 2016 @ 6:45am 
what map
YeroZenn Nov 5, 2015 @ 5:54pm 
can you do it with seats on the sandbox version so you can lock vehicles










Doom6197 Jun 20, 2015 @ 4:10pm 
I get the same error as SomeCallMeNomad
Nomad Jun 2, 2015 @ 11:40am 
[ERROR] lua/weapons/weapon_ttt_locker.lua:174: attempt to index a string value with bad key ('Nick' is not part of the string library)
1. error - [C]:-1
2. __index - lua/includes/extensions/string.lua:310
3. unknown - addons/door-locker tool [traitor]/lua/weapons/weapon_ttt_locker.lua:174
Exho  [author] Jun 2, 2015 @ 6:20am 
Think about it man, telling me there is an error is not helpful. I actually need the error because it contains information about what went wrong and
Nomad Jun 1, 2015 @ 7:00pm 
When I lock a door, the door locks, but the message saying its locked (Or thats what I assume it is) doesn't show up, and the game gives me an error
Tiger__ Jul 28, 2014 @ 12:14pm 
door lock work great. door need little more hp. LOL
Exho  [author] Jul 28, 2014 @ 8:37am 
Ugh, Convars are being a pain.
Gingernuts Jul 27, 2014 @ 10:25pm 
Getting this error :/

[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_locker.lua:179: attempt to index a nil value
1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_locker.lua:179
Exho  [author] Jul 26, 2014 @ 6:04am 
Just Traitor
GrandNoodleLite Jul 26, 2014 @ 4:50am 
Is this just a traitor weapon or is it a detective weapon as well?
ErraticA09 Jul 25, 2014 @ 7:45pm 
<3
Delta7x Jul 25, 2014 @ 10:05am 
Honestly, that bit was really no big deal as I can't think of anyone who would use it on one of those doors.

I only mentioned it because I felt it best for you to know that it was possible for that sorta thing to happen. It'd be silly to try and lock a door that can already lock, no harm no foul really.
Exho  [author] Jul 25, 2014 @ 7:31am 
Fixed the icon path and the Health issue. I do not know of a good way to stop the doors from being opened using buttons as I cannot grab the doors current state with Lua and cant prevent the door from being opened unless I tell the door to lock every second.
RoboFish Jul 25, 2014 @ 4:26am 
I believe what Delta is saying is that the Locker overrides map functions, but the latter doesn't update it self if it is not the actual door targeted. (Just in case he didn't make it clear)
Exho  [author] Jul 24, 2014 @ 8:13pm 
I will look into it tomorrow, thanks
Delta7x Jul 24, 2014 @ 8:07pm 
Deleted my previous comments to compile it into one:

The path to the icon for the T menu seems to have derped, or was not included with the upload as it is untextured in the T menu.

Doors seem to display 0 health regardless of the current health they have.

Also, on doors that lock via button (Jailcell doors on 67thway for example), if you close and lock the door via button, then use the door locker, and press the button to unlock the door the door will act as if it's not locked at all even though it is. (I probably worded that awkwardly, hopefully you get what I mean though)

Overall though, everything on it works as intended besides those three things. I'm excited for this addon to be released, again, very nice work!