15.12.2012, 20:38
Hello, i have the Problem that sometimes when a Player hit a Player there have Armour, the Armour refill automatic, can everyone say me how to fix that?
Here the OnPlayerTakeDamage with the Armour:
Here the OnPlayerTakeDamage with the Armour:
Код:
new Float:armour; GetPlayerArmour(playerid,armour);
Код:
if(armour > 0.0) { SetPlayerArmour(playerid,armour-50.0); }