function onEquip(cid, item, slot)
local slots = getPlayerSlotItem(cid, slot)
if slots.itemid ~= item.itemid then
if isInArray(items, slots.itemid) then
player:setAttackSpeed
end
return true
end
function onDeEquip(cid, item, slot)
local slots = getPlayerSlotItem(cid, slot)
if next(slots) then
if isInArray(items, slots.itemid) then
player:setAttackSpeed
end
end
return true
end