Garry's Mod

Garry's Mod

424 Bewertungen
Revival Player Defibrillator | DarkRP Friendly
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Dateigröße
Veröffentlicht
2.681 KB
22. Juni 2016 um 18:02
1 Änderungshinweis (anzeigen)

Abonnieren zum Herunterladen
Revival Player Defibrillator | DarkRP Friendly

Beschreibung
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 Kommentare
D4KiR 14. Aug. 2023 um 3:49 
defi addons can cause double ragdolls
Tiger shark #Fixtf2 26. Jan. 2023 um 8:22 
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. Juli 2020 um 9:10 
Does it also work with the Helix Framework?
Kitsuneko184 30. Nov. 2019 um 7:07 
by me crash the server when someone used this
wassaswasawsa 4. Okt. 2019 um 20:23 
So.... That's nice but so many glitch








(thanks bro :3)
Vexillifer Kool 11. Apr. 2019 um 22:58 
Cool, thanks
A1steaksa  [Autor] 11. Apr. 2019 um 6:49 
@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 um 16:59 
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. März 2019 um 14:14 
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 um 1:39 
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.