function onUse(cid, item, fromPosition, itemEx, toPosition)
if not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
return true
end
if item.actionid == 32698 then
if getPlayerStorageValue(cid, 326989) <= 0 then
doPlayerAddItem(cid, 2152, 50)
doPlayerAddItem(cid, 2392, 10)
doPlayerAddExp(cid, 2500)
setPlayerStorageValue(cid, 326989, 1)
return true
else
doPlayerSendTextMessage(cid, 20, "You already completed this quest!")
return true
end
end
end
tenta essa aew




info
Grupo: Campones
Registrado: 28/06/13
Posts: 38
Reputação: 0
Char no Tibia: Mordecai
Galera, queria saber como faz uma daquelas quests que tipo tem 6 baús e você só pode pegar 1! como é?