tenta assim oh:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.itemid == 7585) and getPlayerStorageValue(cid, 123468) < 6 then
doSummonCreature('Giant Spider', {x=33181, y=31867, z=12})
setPlayerStorageValue(cid, 123468,getPlayerStorageValue(cid, 123468)+1)
doTransformItem(item.uid, 7586)
addEvent(TransformItem, 3000, toPosition, itemEx.itemid)
end
return TRUE
end
function TransformItem(position, itemid)
doRemoveItem(getThingfromPos(position).uid, 1)
doCreateItem(itemid, 1, position)
end





info
Grupo: Artesão
Registrado: 03/12/11
Posts: 137
Reputação: +5
Char no Tibia: Surionz
Mapa: Global
Distro: TFS 0.4
Versão: 8.60
Duvida: Estou fazendo a quest "Against the Spider Cult Quest", e o actions ques estou usando é esse:
function onUse(cid, item, frompos, item2, topos) if(item.itemid == 7585) and getPlayerStorageValue(cid, 123468) < 6 then doSummonCreature('Giant Spider', {x=33181, y=31867, z=12}) setPlayerStorageValue(cid, 123468,getPlayerStorageValue(cid, 123468)+1) doTransformItem(item.uid, 7586) addEvent(doTransformItem, 3000, item.uid, 7585) end return TRUE endporem ocorre o seguinte erro no Console:
Com certeza o erro é na função
Se alguém souber a função corretamente por favor me ajude.