• 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!

Lua Need this script to heal HP!

God Mythera

Veteran OT User
Joined
Aug 11, 2012
Messages
2,051
Solutions
2
Reaction score
260
Location
United States
Hello and i got this script and i need to heal health...

I need it to heal 500 Health
Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(topos,12)
doCreatureSay(cid,"Donated UH!",19)
return 1
end

Will Rep++!
 
Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(topos,12)
doCreatureSay(cid,"Donated UH!",19)
doPlayerAddHealth(cid, 500)
return 1
end
 
Last edited:
You should really try to learn at least basic stuff like this, you're just wasting time for your ot.
 
Worse thing is he is using it for donations. Profit from others work when it isn't deserved at all

lol? doners are free on my ot :P i dont believe in $$ for items

- - - Updated - - -

Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(topos,12)
doCreatureSay(cid,"Donated UH!",19)
doPlayerAddHealth(cid, 500)
return 1
end

script didnt work D: it shows effect but doesnt heal
 
Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(topos,12)
doCreatureSay(cid,"Donated UH!",19)
doPlayerAddHealth(cid, 500)
return 1
end

Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(getPlayerPosition(cid), 12)
doCreatureSay(cid,"Donated UH!",19)
[COLOR="#FF0000"]doCreatureAddHealth(cid, 500)[/COLOR]
return 1
end
 
Rep 4 rep!!

- - - Updated - - -

Code:
function onUse(cid, item, frompos, item2, topos)
doSendMagicEffect(getPlayerPosition(cid), 12)
doCreatureSay(cid,"Donated UH!",19)
[COLOR="#FF0000"]doCreatureAddHealth(cid, 500)[/COLOR]
return 1
end


wOULD THAT EVEN WORK?
 
Back
Top