Garry's Mod

Garry's Mod

424 ratings
Revival Player Defibrillator | DarkRP Friendly
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
2.681 KB
22 Jun, 2016 @ 6:02pm
1 Change Note ( view )

Subscribe to download
Revival Player Defibrillator | DarkRP Friendly

Description
Lets you bring your friends (Or enemies) back to life.

To revive a player, fire the "Revival Tool" weapon at their body.

Keep in mind that you can only revive players who have recently died.

Revived players will start with low health and will lose half of their ammo by default.

Please note that this addon overhauls player death ragdolls and makes use of serverside ragdolls. In some extreme cases this may have a negative impact on server performance. Because of this overhaul this addon is not compatible with TTT.

Commands
revival_enabled 1/0 - Enables or disables the revival mechanic and reverts to clientside ragdolls.
revival_ammopercent 50 - What percent of the players ammo is left after revival. 0 for no ammo and 100 for full ammo.
revival_revivemintime 10 - If a player dies within this many seconds of being revived, they will not be able to be revived again until they fully respawn.
revival_revivemaxtime 30 - If a player has been dead for this many seconds they will not be able to be revived.

For developers:
The majority of this addon is taken up by sh_revival.lua which boils down to the command player:revive(). You can call this on any dead player with a valid ragdoll to revive them at the ragdoll. Heroes never die.
39 Comments
D4KiR 14 Aug, 2023 @ 3:49am 
defi addons can cause double ragdolls
Tiger shark #Fixtf2 26 Jan, 2023 @ 8:22am 
hey mate i THINK there is a bug where are two ragdolls except one or is a mod is doing something that does that is two ragdolls?
Riggs 26 Jul, 2020 @ 9:10am 
Does it also work with the Helix Framework?
Kitsuneko184 30 Nov, 2019 @ 7:07am 
by me crash the server when someone used this
wassaswasawsa 4 Oct, 2019 @ 8:23pm 
So.... That's nice but so many glitch








(thanks bro :3)
Vexillifer Kool 11 Apr, 2019 @ 10:58pm 
Cool, thanks
A1steaksa  [author] 11 Apr, 2019 @ 6:49am 
@Auxilium Kool - There isn't currently an option for that, but I'll take a look and see if it's feasible to add one without destroying the rest of the addon
Vexillifer Kool 10 Apr, 2019 @ 4:59pm 
Is there a way to keep the serverside ragdolls after a player dies and respawns? Running a little rp server with friends and it'd be cool if its possible.
Klidlid 17 Mar, 2019 @ 2:14pm 
I had a issue where with this installed, dieing caused my camera to float into the sky and become detached from my player, only being fixed by entering and exiting some certain vehicals. This may be a compatability issue since i have other revival addons.
MerekiDor 6 Nov, 2018 @ 1:39am 
That's not exactly what i mean though.
We're playing a gamemode called "Co-op mode". It was made for horror/adventure maps. We love to play those together, but when one of us dies, he can't respawn until the second one dies too. When the new round starts and my friend dies, i revive him and everything is fine. About 3-5 minutes pass and we both die, let's suppose so. We respawn at the new round. We play again and one of us dies. The second one tries to revive, nothing happens. revival_revivemaxtime is set to 60, but not even a minute passes since one dies and, again, nothing happens! When my friend dies i immediately rush to help him in a split second but i can't do that. revival_revivemintime is also set to 10, but we die every 2-4 minutes, not 10 seconds.