13.01.2017, 15:52
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) { GivePlayerHealth(playerid, amount); return 1; } stock GivePlayerHealth(playerid, Float:health) { new Float:loc_health; GetPlayerHealth(playerid, loc_health); return SetPlayerHealth(playerid, loc_health + health); }