14.09.2012, 01:12
Try this.
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(GetPlayerWeapon(playerid) == 34)
{
SetPlayerHealth(playerid,0.0);
}
return 1;
}