Garry's Mod

Garry's Mod

424 평점
Revival Player Defibrillator | DarkRP Friendly
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
파일 크기
게시일
2.681 KB
2016년 6월 22일 오후 6시 02분
1개의 변경 사항 ( 보기 )

다운로드 위해 구독하기
Revival Player Defibrillator | DarkRP Friendly

설명
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
D4KiR 2023년 8월 14일 오전 3시 49분 
defi addons can cause double ragdolls
Tiger shark #Fixtf2 2023년 1월 26일 오전 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 2020년 7월 26일 오전 9시 10분 
Does it also work with the Helix Framework?
Kitsuneko184 2019년 11월 30일 오전 7시 07분 
by me crash the server when someone used this
wassaswasawsa 2019년 10월 4일 오후 8시 23분 
So.... That's nice but so many glitch








(thanks bro :3)
Vexillifer Kool 2019년 4월 11일 오후 10시 58분 
Cool, thanks
A1steaksa  [작성자] 2019년 4월 11일 오전 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 2019년 4월 10일 오후 4시 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 2019년 3월 17일 오후 2시 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 2018년 11월 6일 오전 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.