29.01.2015, 23:17
Here you go, but you could have easily figured this out yourself If you would have searched..
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(weaponid == 34)
{
SetPlayerHealth(playerid, 0.0);
}
return 1;
}

