Garry's Mod

Garry's Mod

424 vurderinger
Revival Player Defibrillator | DarkRP Friendly
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Filstørrelse:
Offentliggjort:
2.681 KB
22. juni 2016 kl. 18:02
1 ændringsbemærkning ( vis )

Abonner for at downloade
Revival Player Defibrillator | DarkRP Friendly

Beskrivelse
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 kommentarer
D4KiR 14. aug. 2023 kl. 3:49 
defi addons can cause double ragdolls
Tiger shark #Fixtf2 26. jan. 2023 kl. 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 kl. 9:10 
Does it also work with the Helix Framework?
Kitsuneko184 30. nov. 2019 kl. 7:07 
by me crash the server when someone used this
wassaswasawsa 4. okt. 2019 kl. 20:23 
So.... That's nice but so many glitch








(thanks bro :3)
Vexillifer Kool 11. apr. 2019 kl. 22:58 
Cool, thanks
A1steaksa  [ophavsmand] 11. apr. 2019 kl. 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 kl. 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. mar. 2019 kl. 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 kl. 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.