Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
How do i make it so when i use, an item to make it add to it, like a egg or crystal, when i use it, it dissapears and adds 2000 max hp or mp to you. how would i do that?
function onUse(cid, item, fromPosition, itemEx, toPosition)
local hp = 2000
local mp = 2000
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+hp)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mp)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
doRemoveItem(item.uid, 1)
return TRUE
end