Postado Julho 29, 2020 6 anos o item é agrupavel? vê assim: local im = { [1] = {6570, 5, "guarda costas do god"}, [2] = {6571, 5, "dragon"} -- ITEMID, COUNT, MONSTERNAME } function onKill(cid, target, lastHit) if isPlayer(cid) and not isPlayer(target) then for i = 1, #im do local bb = im[i] if getCreatureName(target):lower() == bb[3] then for b = 1, bb[2] do doPlayerAddItem(cid, bb[1], 1) end end end end return true end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.