Zysen
=)
Hello!
I was reading some tutorials,and I hope I learned something.I made an welcome script.When you login you got an message welcome back and you get XXX health and XXX mana recovery.I hope this script works.
Note:It's 100% made by me. :$
Hope it's correct!
Regards,
zysen
I was reading some tutorials,and I hope I learned something.I made an welcome script.When you login you got an message welcome back and you get XXX health and XXX mana recovery.I hope this script works.
Note:It's 100% made by me. :$
Code:
function onStepIn(cid, item, frompos, itemEx, topos)
local temple = { x = XXX, y = XXX, z = X } ---- TEMPLE POS
doPlayerSendTextMessage(cid,21,"Welcome back! You got full health and mana now!")
doCreatureAddMana(cid,XXX) ---- MANA ADD
doCreatureAddHealth(cid,XXX) ---- HEALTH ADD
end
return TRUE
end
Hope it's correct!
Regards,
zysen
Last edited: