Você quer random?
eu fiz pra da tudo de uma vez
obs: não testei
function onUse(cid, item, fromPosition, itemEx, toPosition)
local item = {xx, xx, xx, xx, xx, xx, xx, xx, xx, xx}
local level = xx
if getPlayerStorageValue(cid, 10) and getPlayerLevel(cid) >= level then
doPlayerAddItem(cid, item)
doPlayerSendTextMessage(cid, 21, "Parabéns!")
else
doPlayerSendCancel(cid, "Vazio")
setPlayerStorageValue(cid, 10, 1)
return true
end
end







info
Grupo: Visconde
Registrado: 28/07/12
Posts: 273
Reputação: +26
Char no Tibia: Kisame of Tenebra
Gostaria de um bau de quest que poderia dar em torno de 10 items, tentei achar este script mais até agora não consegui.
Protocolo : 8.54.