nicktm
Otland Helper
In actions.xml add
In Actions/Scripts Make a new notepad a put
and name it uh.lua
Ok if you want to change the amout of health it heals doCreatureAddHealth(cid, 150000), change the 150000 to whatever you want and if you wanna change what it says use change doCreatureSay(cid,"Slayer UH!",19) and where it says Slayer Uh! you can change that to whatever you want rep ++ if i helped
:ninja:
PHP:
<action itemid="2284" script="uh.lua"/>
In Actions/Scripts Make a new notepad a put
PHP:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 0 then
doSendMagicEffect(topos,61)
doCreatureSay(cid,"Slayer UH!",19)
doCreatureAddHealth(cid, 150000)
if item.type > 1 then
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end
Ok if you want to change the amout of health it heals doCreatureAddHealth(cid, 150000), change the 150000 to whatever you want and if you wanna change what it says use change doCreatureSay(cid,"Slayer UH!",19) and where it says Slayer Uh! you can change that to whatever you want rep ++ if i helped