Aqui tem 1 script
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.actionid == 32002 then
if getPlayerStorageValue(cid, 32002) <= 0 and getPlayerLevel(cid) >= 100 then
doPlayerAddItem(cid, 11452, 3)
doPlayerAddItem(cid, 2392, 50)
doPlayerAddExp(cid, 2500)
setPlayerStorageValue(cid, 32002, 1)
elseif getPlayerLevel(cid) <= 99 then
doPlayerSendTextMessage(cid, 20, "Você não tem level para realizar está quest!")
elseif getPlayerStorageValue(cid, 32002) >= 1 then
doPlayerSendTextMessage(cid, 20, "Você já fez essa quest!")
return true
end
end
end
ai no action.xml
<action actionid="32002" event="script" value="quests/Bau_Enigma.lua"/>
Tenho no meu server ![]()
Se precisar de explicação fala ai






info
Grupo: Campones
Registrado: 28/09/12
Posts: 10
Reputação: 0
AE como eu crio quests no meu server de pokemon . que é aqueles baús que agente poe o item dentro e fica o item la pra sempre e so pode abrir 1 vez por pessoas ajuda ae quem souber