Bom pessoal, Estou usando esse Script:
function onUse(cid, item, frompos, item2, topos)local skull = getCreatureSkullType(cid)
local bad_skulls = {SKULL_RED,SKULL_BLACK}
if(isInArray(bad_skulls, skull)) then
doPlayerSetSkullEnd(cid, 0, skull)
doRemoveItem(item.uid, 1)
db.executeQuery('UPDATE `killers`, `player_killers` SET `killers`.`unjustified` = 0 WHERE `killers`.`unjustified` = 1 AND `player_killers`.`player_id` = ' .. getPlayerGUID(cid) .. ' AND `killers`.`id` = `player_killers`.`kill_id`')
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your skull has been removed!")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have red/black skull!")
end
return true
end
Ele Remove Red E Black Skull. Só que ele rremove os frags tbm. Gostaria que ele remove apénas a Red E BlackSkull e os frags continuassem. Espero que possam me ajudar..