30.11.2017, 23:28

PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
new Float:player_health;
GetPlayerHealth(playerid, player_health);
if(weaponid == 50)
{
SetPlayerHealth(playerid, player_health);
}
}