Adjusting Player Take Damage
#2

Some things are better in weapon-config you may do, but also you can do something like that.

Code:
new Float:hp;
GetPlayerHealth(playerid, hp);
amount -= (amount/100) * 15;
SetPlayerHealth(playerid, hp - amount);
This will take only a *15 from the health.
Reply


Messages In This Thread
Adjusting Player Take Damage - by Novacaine - 16.01.2019, 12:12
Re: Adjusting Player Take Damage - by Hunud - 16.01.2019, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)