18.05.2014, 12:00
How can i create an system to set back the damage to health for admin?
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { if(AdminProtection[playerid] == 1) // If not self-inflicted { new Float:health; GetPlayerHealth(playerid,health); SetPlayerHealth(playerid, health + amount); } return 1; }