Script Request by RenSoprano
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,1))
{
if(IsPlayerAimingTargetBodyPart(issuerid, playerid, BODY_PART_HEAD))
{
RemovePlayerAttachedObject(playerid,1);
}
}
}
Comments