I Am New To Script and this Script i made.... simple but might be useful^_^
Code:
function onUse(cid, item, frompos, item2, topos)
if doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) then
doCreatureAddMana(cid, getCreatureMaxMana(cid))
doSendMagicEffect(getPlayerPosition(cid), 22)
end
end
Code:
<action itemid="1355" script="full.lua"/>
Last edited: