public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){ if(weaponid == ID_SNIPER) { SetPlayerHealth(issuerid, 0); } return 0;}