vdd vlw, tanto tempo sem fazer script, esqueci kk
function onUse(cid, item, frompos, item2, topos)local storage = 80777local vocation = 4 -- id da vocation knight (ou outra)if getPlayerVocation(cid) == vocation then if os.time() > getPlayerStorageValue(cid, storage) then doCreatureAddHealth(cid, getCreatureMaxHealth(cid)*0.10) setPlayerStorageValue(cid, storage, os.time()+ 1*24*60*60) doPlayerSendTextMessage(cid, 22, "You add 10% hp to you health!") doSendMagicEffect(getCreaturePosition(cid), 30) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você já usou esse item hoje, tente novamente em 24 horas.") endelse doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item exclusivo para knights.")endreturn trueend