kito2
www.masteria.net
Hi there, I have been thinking a lot on how about to solve noob chars in wars...
Protection system just sux, it doesnt work really well...
So I have an idea:
When you kill a player that has level X or less, he gets teleported to temple and also the killer doesn't get a frag.
Here is an idea for the part of the death for player:
Thanks to Mock.
Anyone can help?
I rep++++!
Protection system just sux, it doesnt work really well...
So I have an idea:
When you kill a player that has level X or less, he gets teleported to temple and also the killer doesn't get a frag.
Here is an idea for the part of the death for player:
Lua:
local nonDieDelay = 3*60 --- 3 minuts
function onPrepareDeath(cid, deathList) -- Script by mock the bear
if getWorldUpTime() <= nonDieDelay then
doCreatureAddHealth(cid,getCreatureMaxHealth(cid))
doCreatureAddMana(cid,getCreatureMaxMana(cid))
doTeleportThing(cid,getTownTemplePosition(getPlayerTown(cid)))
doRemoveCreature(cid)
return false
end
return true
end
Thanks to Mock.
Anyone can help?
I rep++++!