public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart){ if (weaponid == WEAPON_SNIPER) { SetPlayerHealth(damagedid, 0); } return 1;}