MagicHereos
Magic.org.pl
- Joined
- Nov 6, 2008
- Messages
- 60
- Reaction score
- 0
Hello, I wrote this :
movements/hp.lua :
And in movements.xml :
If you go to this SQM, you have got full hp !
EDIT.
Opss, all text are in Polish, meaby somebody can translate it?: )
movements/hp.lua :
Code:
-- Script by MAGIC
-- Help (EDITED) by Gelio
function onStepIn(cid, item, pos)
local hp = getCreatureHealth
if(pos.x == 814) and (pos.y == 1112) and (pos.z == 7)
then
doPlayerSendTextMessage(cid, 19, "Czujesz ukojenie")
doCreatureAddHealth(cid,hp)
doSendAnimatedText({x=814, y=1112, z=7}, "By Magic",8)
end
return 1
end
Code:
<!-- Script of Magic -->
<movevent event="StepIn" uniqueid="9213" script="hp.lua" />
EDIT.
Opss, all text are in Polish, meaby somebody can translate it?: )
Last edited: