dervin13
Active Member
- Joined
- Apr 26, 2008
- Messages
- 459
- Solutions
- 1
- Reaction score
- 28
PHP:
local nonDieDelay = 60*3 --- 3 minutos
function onPrepareDeath(cid,aa) -- Script by mock the bear
if getWorldUpTime() <= nonDieDelay then
doCreatureAddHealth(cid,getCreatureMaxHealth(cid))
doCreatureAddMana(cid,getCreatureMaxMana(cid))
doTeleportThing(cid,getTownTemplePosition(getPlaye rTown(cid)))
doRemoveCreature(cid)
return false
end
return true
end
can i change it and use if the player log in??