Garry's Mod

Garry's Mod

187 ratings
TTT Defibrillator Detective/Traitor
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
File Size
Posted
Updated
12.967 KB
20 Dec, 2016 @ 2:23am
25 Jan, 2020 @ 11:44am
2 Change Notes ( view )

Subscribe to download
TTT Defibrillator Detective/Traitor

In 2 collections by DarkIce
DarkCollection
155 items
DarkCollection Client
69 items
Description
I reuploaded this defibrillator: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=162581348
All credits are going to Willox.

This is only for Trouble in Terrorist Town and it wont work in sandbox.

However this defibrillator can be bought by trator and detectives!

Only install this and NOT both versions. If you want to use it.
12 Comments
Albino 10 May, 2020 @ 11:22am 
is it possible to add a timer on this? like only being able to revive a corpse if they have been dead for less than x seconds
DarkIce  [author] 6 Apr, 2018 @ 2:43am 
you can create a collection for your server with workshop items and then the server downloads them automatically
TehVampire 5 Apr, 2018 @ 1:13pm 
It gives this error for all clients on the server now:
[ERROR] lua/weapons/weapon_ttt_defib.lua:271: '=' expected near '<eof>'
1. unknown - lua/weapons/weapon_ttt_defib.lua:0
TehVampire 5 Apr, 2018 @ 12:35pm 
On your server or on the steam workshop? Because I changed it on my server and now it just generates errors for the clients and the detective still can't buy the defib.
DarkIce  [author] 5 Apr, 2018 @ 10:37am 
i rechecked it is set to SWEP.CanBuy = {ROLE_TRAITOR, ROLE_DETECTIVE}
TehVampire 5 Apr, 2018 @ 10:07am 
Just to clarify my previous statement.
SWEP.CanBuy = {ROLE_TRAITOR}
is what is in your LUA and should be
SWEP.CanBuy = {ROLE_TRAITOR, ROLE_DETECTIVE}
TehVampire 1 Apr, 2018 @ 9:44am 
Nah it doesn't but I found out why... in the LUA it only allows ROLE_TRAITOR to use it :p
DarkIce  [author] 1 Apr, 2018 @ 8:14am 
It works i since i use it ob my server too. Remeber that you cant use both versions of this addon you have to delete the other one
TehVampire 31 Mar, 2018 @ 1:39pm 
This defib doesn't seem to work for the detective. Can you tell me where I can check this in the LUA? I have no knowledge about working with that stuff so if you can point it out to me.
DarkIce  [author] 16 Mar, 2018 @ 4:36am 
You have to use something like gmad extractor to extract the lua files from the .gma file then you can edit the swep