Garry's Mod

Garry's Mod

185 ratings
Traitor Defibrillator - TTT
 
Rate  
Favorite
Favorited
Unfavorite
Type: Weapon, Addon
Tags: Fun, Roleplay
File Size
Posted
Updated
0.008 MB
Apr 8, 2015 @ 8:55pm
Apr 9, 2015 @ 11:55am
2 Change Notes ( view )

Subscribe to download
Traitor Defibrillator - TTT

Subscribed
Unsubscribe
Description
Simple addon for TTT servers. Allows traitor to buy a defibrillator that revives any dead connected player as a fellow traitor but with only half HP. Update: The server announces revived player. If you so wish to disable this read the comments. I added the 50 HP and the announcement to make this addon not so "over-powered".

Originally created by: Willox http://steamcommunity.com/sharedfiles/filedetails/?id=162581348
I do not take credit for creating this addon.
I simply made it so traitors could revive any dead player as a traitor buddy.

Original Description:
------------------------------------------------------
Pretty simple modification that allows traitors to purchase a one-time defibrillator that can bring allies (or enemies) back from the dead.

Installing Workshop addons on servers
http://wiki.garrysmod.com/page/Server/Workshop

GitHub
https://github.com/wiox/archive/tree/master/gmod-defibrillator-master

Legacy Addon Link
https://github.com/wiox/archive/archive/master.zip
< >
12 Comments
[❤]RainbowGryphon Aug 10 @ 1:32pm 
Is there any way to make that it does not show that you revived someone?
DeathBat Syn Mar 3, 2017 @ 6:21pm 
When I revive someone becomes innocent, how do I change it to become a traitor?
Toxic_Terrorists  [author] Jan 15, 2016 @ 6:14pm 
it was on coderhire but the name was Advanced EQ Menu
.::[Patz]12 Jan 15, 2016 @ 4:44pm 
what is the name of that buy menu skin? thanks :D
Toxic_Terrorists  [author] Nov 26, 2015 @ 2:02pm 
@jevun Sorry man I lost interest in GMOD and coding for it, so I will not.
Jvun Nov 25, 2015 @ 11:49pm 
can you make it for other game mode
Toxic_Terrorists  [author] May 31, 2015 @ 12:15am 
Nomad, I don't use that feature for GMOD servers considering the steam workshop is shaky and isn't always reliable. I have fall-back methods. I'd suggest just extracting the addon's you want and place them into your addons folder or the respectable directories. I honestly have not used that feature for a GMOD server, considering if the workshop were to be down while a player is connecting then the player wouldn't be able to download the required workshop addons and said addons could not be mounted client side. The player would receive errors and missing textures for the said addons, unless you have FastDL setup. Which is a completely 'nother can of worms, if you don't know what you're doing.
SCMNomad May 30, 2015 @ 7:45pm 
Alright, so I'm kinda a noob at Gmod servers atm, I just made a dedicated one for my friends and I like yesterday. When I go into the files of the server, and into LUA, then weapons, I can not find the T defib files. How do I get to them? I put addons onto my server by adding them to a collection, and telling the server to use those and so forth.
Toxic_Terrorists  [author] May 30, 2015 @ 7:35pm 
@Nomad, Go into the addon's folder. Then into lua then weapons so it should look like this: "Traitor Defibrillator\lua\weapons". Open up: weapon_ttt_defib_traitor.lua. Go to line 241-243(about all the way down), find this code:
for k, v in pairs(player.GetAll()) do
v:ChatPrint(ply:Nick() .. " has been brought back to life as a Traitor!" )
end
Either delete it or comment it out. And It will no longer announce revived players.
SCMNomad May 30, 2015 @ 6:46pm 
How do you turn off the announcement someone has been brought back as a traitor?