16.01.2019, 12:16
Some things are better in weapon-config you may do, but also you can do something like that.
This will take only a *15 from the health.
Code:
new Float:hp; GetPlayerHealth(playerid, hp); amount -= (amount/100) * 15; SetPlayerHealth(playerid, hp - amount);