gremlee
Qumora.com
- Joined
- Jul 15, 2008
- Messages
- 511
- Reaction score
- 16
Code:
function onPrepareDeath(cid, deathList)
if isInRange(getPlayerPosition(cid), {x=869, y=977, z=7}, {x=888, y=994, z=7}) then -- rang of the lms map
doCreatureAddHealth(cid, getCreatureMaxHealth(cid), 65535, 255, true)
doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
doPlayerSetPzLocked(cid, false)
doRemoveCondition(cid, CONDITION_INFIGHT)
doTeleportThing(cid, {x = 1000, y = 1000, z = 7}) --temple
end
return false
end
Last edited: