12.06.2017, 00:23
So, basically. We have a custom damage system and we use this in order to put the player into brutally wounded mode.
So, if the players health is for example 20 and he gets shot by a deagle, he instantly dies. How can we make it to block any damages and set his health to 25 if his health is less than or equal to 5? I don't want death to exist in this situation at all.
E: I don't want code, even a summary would help. Thank you!
PHP код:
if (PlayerHealth - amount < 5)
if(Character[playerid][BrutalM] == 0)
E: I don't want code, even a summary would help. Thank you!