Postado Novembro 8, 2011 13 anos function onUse(cid, item, fromPosition, itemEx, toPosition) if item.type >= 10 then local r = math.floor(item.type/10) if r >= 1 then doRemoveItem(item.uid, r * 10) doPlayerAddItem(cid, 5886, r) doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You have created ".. r .." spool".. (r > 1 and "s" or "") .." of yarn.") end else doPlayerSendCancel(cid, "You need at least 10 giant spider silks.") 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.