- Veja esses tutoriais:
01 - http://www.xtibia.co...o-bau-de-quest/
02 - http://www.xtibia.co...quest-pelo-rme/
- Caso Não Funcionar Tente esse:
Actions/Script crie 1 arquivo LUA chamado westbau e adicione isso dentro:function onUse (cid,item,frompos,item2,topos) pos = {x=1033, y=1025, z=7} UID_DO_BAU = 7799 STORAGE_VALUE = 7799 ID_DO_PREMIO = 2160 ID_DO_PREMIO2 = 2070 if getPlayerLevel(cid) >= 35 then if item.uid == UID_DO_BAU then queststatus = getPlayerStorageValue(cid,STORAGE_VALUE) if queststatus == -1 then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doPlayerSendTextMessage(cid,22,"Congratulations.") -- Aqui é colocado o nome do item doPlayerAddItem(cid,ID_DO_PREMIO,50) doPlayerAddItem(cid,ID_DO_PREMIO2,1) setPlayerStorageValue(cid,STORAGE_VALUE,1) else doPlayerSendTextMessage(cid,22,"The chest is empty.") end end else doPlayerSendCancel(cid,'Only levels 35 or up can open this chest.') end return 1 end
Agora em Actions.xml adicione essa linha:<action uniqueid="7799" event="script" value="westbau.lua"/>
Explicando:pos = {x=1033, y=1025, z=7} == Posição que o player vai ser teletransportado apos usar o bau if getPlayerLevel(cid) >= 35 then == Lvl para o player poder fazer a quest ID_DO_PREMIO = 2160 == ID do item que o player vai receber doPlayerAddItem(cid,ID_DO_PREMIO,50) == Quantidade do item que o player vai receber.
Abraço.




info
Grupo: Campones
Registrado: 23/12/12
Posts: 13
Reputação: +1
Char no Tibia: [ADM] Black
Eae galera estou com uma duvida do servidor naruto seven pois quando eu tento fazer uma quest nele não consiguo eu peguei a mesma quest e botei em outro servidor funcionou =[ mais no seven não porfavor ajudem ae !