darkk
New Member
Hello, I want to use this Script,
Rhux made this Script.
With this script the monster cant Die. when you kill it, it will recover the Max Hp Again.
The problem is, when i kill the Monster
it Never Die/Revive, and it Send me the Text again, again, again D:
What can I do?
And this is the Image,
Thanks eace:
Rhux made this Script.
With this script the monster cant Die. when you kill it, it will recover the Max Hp Again.
Code:
function onKill(cid, target)
local config = {
monstername = "X Monster",
text = " X TEXT"
}
if getCreatureName(target) == config.monstername then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, config.text)
local maxhealth = getCreatureMaxHealth(target)
doCreatureAddHealth(target, maxhealth,1)
doSendMagicEffect(getCreaturePosition(target),49)
doSendAnimatedText(getCreaturePosition(target),maxhealth,120)
return FALSE
end
return TRUE
end
The problem is, when i kill the Monster
it Never Die/Revive, and it Send me the Text again, again, again D:
What can I do?
And this is the Image,
Thanks eace:
Last edited: