testa este a qui :
-- [( Script created by Doidin for XTibia.com )] -- local exp = 10000 -- Quanto de experience o player irá ganhar?! local exhaust = 60 -- Tempo para o player poder usar o item novamente! (tempo em segundos) local text = "Congratulations, you gained "..exp.." points of experience." local storage = 9811 -- Não mexa aqui. local level = 200 -- Level que podera usar o exp scroll. local msg = "Sorry, You need to be level 200+" -- Msg se não tiver level 200. function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerLevel(cid) >= level then if (getPlayerStorageValue(cid, storage) <= os.time()) then doPlayerAddExp(cid, exp) doCreatureSay(cid, text, 19) doSendMagicEffect(getCreaturePosition(cid), 14) doRemoveItem(cid, item.uid, 1) setPlayerStorageValue(cid, storage, os.time()+exhaust) else doPlayerSendCancel(cid, "Sorry, you only can again use this item after "..exhaust.." seconds.") end else doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, msg) end return TRUE end







info
Grupo: Campones
Registrado: 31/08/08
Posts: 13
Reputação: 0
Char no Tibia: sercera abul
Eu gostaria de saber se alguem podia fazer com que a exp scroll só pudesse ser usada a partir de level 200
Aqui está a script: