SA-MP Forums Archive
How to turn off the player's death - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to turn off the player's death (/showthread.php?tid=509105)



How to turn off the player's death - KesaSport - 25.04.2014

Hello, I wan't create custom health system and i didn't know how to tunr off orginal player death when player dropping out of high or when vehicle explode.. Any ideas?


Re: How to turn off the player's death - xVIP3Rx - 25.04.2014

You could give the player the health he lost under OnPlayerTakeDamage.