Hi all, why this dont work? this dont add 100 Max hp to player :/
Edit: How to add Player Max HP with function on Use?
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerAddMaxHealth(cid, 100)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You get 100 HP Points!")
doSendMagicEffect(getThingPos(cid), 5)
doRemoveItem(item.uid)
return true
end
Edit: How to add Player Max HP with function on Use?
Last edited: