Hello I need some help with script "heal fountain".
If player use fountain will add for him 100 % health and mana.
Can you correct my script ?:
If player use fountain will add for him 100 % health and mana.
Can you correct my script ?:
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.aid == 4467 then
doCreatureAddHealth(cid, 1000000) // What function is 100% "max" ?
doCreatureAddMana(cid, 1000000) // What function is 100% "max" ?
doSendMagicEffect(getCreaturePosition(cid), 12)
doPlayerSendTextMessage(cid,22,"Ahhh...")
end
end