function onUse (cid, item, fromPosition, itemEx, toPosition)
local skull = getCreatureSkullType(cid)
if skull >= 4 then
if doPlayerRemoveItem(cid, 9969, 1) then
db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
doCreatureSetSkullType(cid, 0)
doPlayerSendTextMessage(cid, 27, "Your frags & your skull have been removed!")
doPlayerSetSkullEnd(cid, 0, getPlayerSkullType(cid))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel (cid,"You can only remove red & black skull!")
end
end
return true
end