17.05.2014, 12:35
Code:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) { new Float:Health; GetPlayerHealth(damagedid, Heath); }
I have 100 HP. Somebody shoot my with deagle and i have to lose 46 HP. When Callback will be called, health will be 100 or 54 (that, because 100-46).