Roleplay Death
#1

How to make Roleplay Death when you died , you will have 100 HP again and get an INJURED Animation and Gametext "Injured"/service ems"
Reply
#2

Just an idea, make the lowest HP of a player be 1, not 0. When he reaches 1 HP, any source of damage (OnPlayerGiveDamage / OnPlayerTakeDamage) will be blocked (return 0 or something, not sure), and the player will be healed. Then, you can freeze him, send him a message that he has to call for EMS and whatever you want.
Reply
#3

Use a simple system where it saves the coordinates of the place where the person died, then TP the person to that coordinates, freeze them, or set them in an animation which makes them unable to move, and let it show a text with "Call the EMS to get rescued."
Reply
#4

Save the coordinates upon OnPlayerDeath into variables then when he spawns set a time of atleast 300 ms setting the player's position to where he was. I've acknowledged that you can't set the player pos once he spawns, you can do that but it causes issues sometimes then simply apply the animation.

Good luck.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)